blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0daa388ee0e36a38b880bd9609829493dee1e1b | 9cbc066d59ff6101c1674c775eb8aba0bff11feb | /Conditional independence testing/low_dim_type1/simulate.R | 57a8475f869977ccbb9c93e568df7c7d37bcf85c | [] | no_license | xiangyh/Nonparametric-Graphical-Modeling | 28e42d8388d15df4033e47853f840e5b18b87bae | 7d0953507a1ff0e26c2755966231b477e0fd185f | refs/heads/master | 2020-06-26T09:07:14.861953 | 2019-07-30T07:37:29 | 2019-07-30T07:37:29 | 199,591,539 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,260 | r | simulate.R | # simulation: conditional independent testing
require(CondIndTests)
library(MASS)
library(bootstrap)
library(ranger)
library(cdcsis)
library(bootstrap)
loess_wrapper_extrapolate <- function (x, y, span.vals = seq(0.08, 0.8, by = 0.05), folds = 5){
# Do model selection using mean squared error
mean.sqr.error <- num... |
8055ed338537abe38de8ab21fcf1cd0b97f49852 | 1a9f72bb42cc02d8c63de30b90a93cbe69549d9d | /shannon_n_htz.R | a03b8c8c0ee03394611933187a49fcd43a95de81 | [] | no_license | Redsiana/GPG | 3b5251c0ad79ece564ca5e77b68639470c0d9ca5 | ec6617224a9e8c0e0f6170454fda7018b2a2c632 | refs/heads/master | 2018-12-08T07:12:53.727600 | 2018-10-12T17:00:26 | 2018-10-12T17:00:26 | 117,999,784 | 0 | 0 | null | 2018-01-18T15:35:22 | 2018-01-18T15:20:46 | R | UTF-8 | R | false | false | 3,533 | r | shannon_n_htz.R |
# -----------
analysis_shannon <- function( newbabyX = newbabyX,
newbabyY = newbabyY,
popgenome = popgenome,
G = G, Xdim = Xdim ){
#### PHENOTYPIC DIVERSITY -> Shannon index based on RESOURCE CONSUMPTION
# some kind of shannon index based o... |
9b36b25cd10628e4561bba6628cb946e4e7b3bee | 72166929998ef4ae822b411da9f11b6c375a09ed | /Scripts_Teste/Classes e métodos S3 e S4.R | 2a2ab5fc72fd1e063b255e41281ada462f5d927e | [] | no_license | rceratti/Dissertacao | 03699c499ce435c32361c79450fc1d615a9a3def | 7dcd06a2a6a983943b282fb816326d6a1b1032c2 | refs/heads/master | 2021-01-22T13:47:05.330564 | 2014-05-03T18:45:57 | 2014-05-03T18:45:57 | 19,409,309 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,485 | r | Classes e métodos S3 e S4.R | # Exemplo S3:
Person <- function(name, weight, height){
x <- list(name = name, weight = weight, height = height)
class(x) <- "Person"
x
}
bmi <- function(x) UseMethod('bmi', x)
bmi.Person <- function(x) {
x$weight/x$height^2
}
print.Person <- function(x) {
cat(" Name: ", x$name, "\n",
"Weight: ", x$... |
0d12c3c0e6e4a1a4f5960383e8159dae12a10b81 | 300661ccbbc892eb51789fef4458df72f2724da3 | /Random_Forest.r | 4ccabb5a3d5088b3c3a2d94c6cd65470c8d4e248 | [] | no_license | pratikshaborkar/Weather_Prediction | 73ce6705b9fd455988d1ae38906586950fef3b56 | f987c530240561914a166502afafda8b502315c1 | refs/heads/master | 2020-07-28T01:57:30.123114 | 2019-09-18T11:14:46 | 2019-09-18T11:14:46 | 209,274,685 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,552 | r | Random_Forest.r | library('Metrics')
library('randomForest')
library('ggplot2')
library('ggthemes')
library('dplyr')
#set random seed
set.seed(100)
#loading dataset
data<-read.csv("Istanbul Weather Data.csv",stringsAsFactors= T)
data=data[,-1]
data
str(data)
#checking dimensions of data
dim(data)
data$Con... |
8c13d3066bbc0e9ceb0605ecd4b0dac7929d1c38 | 169a6494a475f42d0452d3ade4622bde1eb939cc | /tests/testthat/test-gnr_datasources.R | 1a8bd7bd86c605001831869d5432cbd095140e46 | [
"MIT"
] | permissive | ropensci/taxize | d205379bc0369d9dcdb48a8e42f3f34e7c546b9b | 269095008f4d07bfdb76c51b0601be55d4941597 | refs/heads/master | 2023-05-25T04:00:46.760165 | 2023-05-02T20:02:50 | 2023-05-02T20:02:50 | 1,771,790 | 224 | 75 | NOASSERTION | 2023-05-02T20:02:51 | 2011-05-19T15:05:33 | R | UTF-8 | R | false | false | 482 | r | test-gnr_datasources.R | context("gnr_datasources")
test_that("gnr_datasources returns the correct class", {
skip_on_cran()
vcr::use_cassette("gnr_datasources", {
tmp <- gnr_datasources()
})
expect_is(tmp, "data.frame")
expect_equal(NCOL(tmp), 12)
expect_is(tmp$title, "character")
expect_is(tmp$updated_at, "character")
exp... |
be2672b33f40ecff1eccfcbfc6e3f6f87fc6dbb9 | 0ff8bdeb6c6fbd53b58975cee95b81bae9259cbe | /run_analysis.R | c6aea862ad5f50f40bb877eb67fa6d642b33d174 | [] | no_license | sambitkumohanty183/Getting-and-Cleaning-Data-Course-Project | 1f2e091444934723eddf6f960b801627af4dedd8 | 8d8c9ff546a95dc61e0fe676c6153d7464b2b9b1 | refs/heads/master | 2021-01-17T05:21:38.007348 | 2014-10-25T17:14:58 | 2014-10-25T17:14:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | run_analysis.R | require(data.table)
require(plyr)
#Feature table
features<-read.table("UCI HAR Dataset/features.txt")
#Activity labels
activitylabels<-read.table("UCI HAR Dataset/activity_labels.txt")
names(activitylabels)<-c("activity","description")
#Training labels
traininglabels<-read.table("UCI HAR Dataset/train/y_train.txt")
n... |
66ca9423786e85c7a69b1f74f71618d019f511dd | d2b60fc3b7411dea33ac32160383312e3015d9eb | /ggplot2_01.R | 45b170fe6b810edfc92e0030bc1df951482cf88b | [] | no_license | coin723/R_dreaming | 0787dc3f6f88622872b26d33355a2e5949837040 | 3d96cf1b2989113f2e65b7208bcad798b87bd705 | refs/heads/master | 2021-01-10T13:15:17.894565 | 2015-10-04T03:59:31 | 2015-10-04T03:59:31 | 43,624,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 75 | r | ggplot2_01.R | plot(iris)
plot(Nile)
data()
plot(BOD)
plot(BOD, type = 'l')
barplot(BOD)
|
bc7dcf6675267637dd18fd4ebcdae467a9034ffe | 90d1821464cd074cb161d31fe4d0b18a22afd722 | /server.R | 417c3d9d350d48872e67997bbbe845e06c041b70 | [] | no_license | abmish/startup-funding | 6420fe269e5037eadb18116c4e4c4e333207681c | 6d46cce175a7fb15f9e341415ea2f7412fd9a8a5 | refs/heads/master | 2021-01-15T21:44:23.011879 | 2015-02-22T18:54:36 | 2015-02-22T18:54:36 | 31,161,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 876 | r | server.R | library(UsingR)
raw_funding <- data.frame(read.csv("TechCrunchcontinentalUSA.csv", header = T, colClasses=c("NULL","NULL", "numeric", NA, "NULL", "NULL", "NULL", NA, "NULL", NA)))
funding <- raw_funding[complete.cases(raw_funding[, c('numEmps')]), ]
funding <- funding[(funding$category %in% c('mobile', 'software', 'web... |
debe111dee1744f43c1a0b3a6bc4304f139d44d0 | 8c1b4d741ba97c9882bbd994d04e196fff6c09c6 | /R/measoshapes-package.R | 4ffe5b139bfb6e09d99e79aec1b33e504c4abcbe | [] | no_license | AustralianAntarcticDivision/measoshapes | 3dcc20944603508fb5fd20db95fda67852295b69 | 5e53849561c05df2acef9e587a31d6f0a312cee4 | refs/heads/master | 2020-05-09T20:00:34.777139 | 2020-04-06T02:06:56 | 2020-04-06T02:06:56 | 181,392,566 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 498 | r | measoshapes-package.R | #' @keywords internal
"_PACKAGE"
#' Sectors and zones for MEASO.
#'
#' Data is stored in 'sf' data frame form, in a native polar projection. Longitude,latitude
#' version is copied with a '_ll' suffix. Versions with the Antarctic coastline baked-in
#' are '_coastline' suffix.
#'
#' Longer names and decomposition of ... |
dd5e1e6f79fe8a5f73e51376fa9d2528dc3b7db5 | 23434e36a1e8501f544a2122a54ce4b030226f3c | /R/simulate.white.noise.R | a70766b1bd9cbdaadea44143c2f471df23a54bc6 | [] | no_license | sebastianduchene/NELSI | da2c08038964be58a53e71d8a8f06a803ed6c1f4 | 1a9365e335e28289df8677eaf986459b252d7582 | refs/heads/master | 2022-08-31T05:35:09.056560 | 2022-08-15T11:30:23 | 2022-08-15T11:30:23 | 17,787,440 | 5 | 6 | null | 2016-08-02T00:45:07 | 2014-03-15T23:00:37 | HTML | UTF-8 | R | false | false | 653 | r | simulate.white.noise.R | simulate.white.noise <-
function(tree, params = list(rate = 0.006, var = 0.000001)){
data.matrix <- get.tree.data.matrix(tree)
clocksubst <- tree$edge.length * params[[1]]
clocksubstscaled <- as.numeric(scale(clocksubst)) + 1
for(i in 1:length(clocksubst)) data.matrix[, 6][i] <- rlnorm(1, log(clocksubs... |
5e7489f8cd343169a342f3e2ded30171757eb5f8 | 3645cc9ec4fc326a79c0f91e111f275c80980f08 | /man/EvalCov.Rd | a6e60bc020ce3cfbc7df57f43c3425eebf637beb | [] | no_license | cran/spatsurv | 4ad176e1dba92957a5f97b1dd8f2c4c8e2c2c01b | 530b040149bf08d8f94cb2ee6240a87e84144daa | refs/heads/master | 2022-12-05T14:25:39.144853 | 2022-11-22T13:30:02 | 2022-11-22T13:30:02 | 17,699,980 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 482 | rd | EvalCov.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/covarianceFunctions.R
\name{EvalCov}
\alias{EvalCov}
\title{EvalCov function}
\usage{
EvalCov(cov.model, u, parameters)
}
\arguments{
\item{cov.model}{an object of class covmodel}
\item{u}{vector of distances}
\item{parameters}{vector of pa... |
69aece5472ed7f5ee884a1821de0dbb681ceb89f | 47b3f50a476b3990f505c45e68fce595c5991210 | /062-u2-world-tour/readme.R | cae735f27b3d30f8fbef4300ec4f73036c8c2496 | [
"Apache-2.0"
] | permissive | baifengbai/r-posts | 611235c514cbfbd14926fbde825d48c4f5ee7452 | e694c45fb639b4a7bcf1b307084cc2bc1ddf5ea0 | refs/heads/master | 2020-03-11T19:21:00.671871 | 2018-02-05T03:04:30 | 2018-02-05T03:04:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,106 | r | readme.R | +# packages ----------------------------------------------------------------
rm(list = ls())
library(dplyr)
library(tidyr)
library(rvest)
library(stringr)
library(highcharter)
library(lubridate)
library(ggmap)
library(purrr)
library(viridisLite)
options(highcharter.debug = TRUE)
# data ------------------------------... |
c28e60d93e5d3bf35d19bc26253b16f3d2fc5c2b | f3b552e07781d7092de9b1334538245fa930922e | /01-IIM/iitb2.R | ba52dfe82fe5619fae680d7fee021a5d6c4125a6 | [] | no_license | uc4444/rAnalytics | 247a7e228073a403e3d22042f308de8a22caeb0c | 95d74152855d6bdfffd0f12f738d440dee0498ba | refs/heads/master | 2021-01-01T00:54:19.865058 | 2020-02-08T09:58:34 | 2020-02-08T09:58:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 373 | r | iitb2.R |
data5
#Linear Regression
model1 = lm(y ~ x1 + x2, data=data5)
#rmse
#logistic
model2 = glm(y ~ x1 + x2 , data = data5)
#confusion matrix
#classification DT
model3 = rpart( y ~ x1 + x2, data = data5, method='class') #class
#confusion matrix
model3b = rpart( y ~ x1 + x2, data =data5, method='anova') #num
#
predict( m... |
2330739e9dfb53aabc3a756858689eafc7860435 | f6f694ac585304c9acd13fec13393d2d0aa63391 | /Limpieza_ParticipacionPolitica.R | 2e2e85bba81bcaf7e4f1fc2624c13f7c26f9dff3 | [] | no_license | jesuszaratev/TrabajoGrupal | b5c91e6c6644524a4ed791892fb7616b852a739a | d5154bb8e3b092471450007fa6930488c104fc78 | refs/heads/master | 2022-08-22T01:38:49.243138 | 2020-05-30T16:23:03 | 2020-05-30T16:23:03 | 268,102,030 | 0 | 0 | null | null | null | null | ISO-8859-2 | R | false | false | 965 | r | Limpieza_ParticipacionPolitica.R | #Revisamos la variable
View(PoliticalParticipation)
str(PoliticalParticipation)
#Eliminamos la "," y la sustituimos por "."
PoliticalParticipation$`PoliticalParticipation(2006)` =gsub(",", ".", PoliticalParticipation$`PoliticalParticipation(2006)`)
PoliticalParticipation$`PoliticalParticipation(2010)` =gsub(","... |
365941af4090b7b60984317612181e9733b69bdd | ed17b93b41ebc74b11ef01963dd3374968aa51ec | /man/Get.Def.Par.RNN.Rd | 9bdfff7c76b1d55995af7346fe52394cb5e0b619 | [] | no_license | MartinKies/RLR | 64fe378ebad8e5a83628efe7bde7f8a628375cb6 | 3b8b1bfd4b4766b1e612de85a96c8d24e95d33e6 | refs/heads/master | 2022-03-24T09:32:00.219749 | 2019-12-17T16:23:26 | 2019-12-17T16:23:26 | 108,415,469 | 1 | 1 | null | 2018-03-19T13:48:34 | 2017-10-26T13:30:58 | R | UTF-8 | R | false | true | 2,354 | rd | Get.Def.Par.RNN.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RNN.R
\name{Get.Def.Par.RNN}
\alias{Get.Def.Par.RNN}
\title{Define default Parameters of the RNN Function}
\usage{
Get.Def.Par.RNN(setting = "ThesisOpt")
}
\arguments{
\item{setting}{Specefies the to be used setting. Currently the following s... |
a71a60413c1c343a6b05aa9ce5181f936f68c6af | c37710e45d05176d20252a414512496acfb9d14f | /man/datasetLiverBrainLung.Rd | ca0920e81640f82450fca6b56e1458449f2e1a48 | [
"MIT"
] | permissive | ftmlik/LinSeed | 7d9b5abef7ec93e526adecdaa6baf049d3a7ed84 | 1ab41330aee1a62d7643b9c109d84160b53fa7d9 | refs/heads/master | 2022-04-10T21:51:29.871351 | 2019-08-09T15:03:53 | 2019-08-09T15:03:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,528 | rd | datasetLiverBrainLung.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasetLiverBrainLung.R
\docType{data}
\name{datasetLiverBrainLung}
\alias{datasetLiverBrainLung}
\title{GSE19830 dataset}
\format{An object of class \code{'data.frame'}}
\source{
\href{http://qtlarchive.org/db/q?pg=projdetails&proj=moore_201... |
454ac4434c207b9938166282ac1af937e6f50f56 | c332694aed4a74cf0e5802e8f7ff6b82dbf88acb | /tests/testthat/teardown.R | c08c455c477fc669553c7f10edb2153c45c552ca | [] | no_license | mdlincoln/storrmap | 82b9a11b7c618ef5dbefa6a21440263f5eab0354 | 7c7436696589ce69e8fb2554bfff96da8c252989 | refs/heads/master | 2020-03-29T07:53:17.283705 | 2018-09-24T11:33:03 | 2018-09-24T11:33:03 | 149,683,808 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | teardown.R | # Remove the storr directory used durnig testing
test_storr$destroy()
|
785ba7282c92b3119eb4650e7b833d0aa8bfeb69 | f995139d5c4ff0c6dc2785edfebb84df43a6bb3f | /R/0280-extract-bcfishpass-rd-data-modelled_closed_bottom.R | 71b83071670f66c6a781f3ee8d2b0e1f3bb40a89 | [
"Apache-2.0"
] | permissive | Mateo9569/fish_passage_bulkley_2020_reporting | 4633713f012edc331552f2ef367b2f3456f14bae | 49e25c50cef023c3f93654816618f714431da94a | refs/heads/master | 2023-04-12T20:39:05.124435 | 2021-05-04T21:43:43 | 2021-05-04T21:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,771 | r | 0280-extract-bcfishpass-rd-data-modelled_closed_bottom.R | source('R/packages.R')
source('R/functions.R')
source('R/private_info.R')
source('R/0255-load-pscis.R')
##get the road info from the database
conn <- DBI::dbConnect(
RPostgres::Postgres(),
dbname = dbname,
host = host,
port = port,
user = user,
password = password
)
#
# ##listthe schemas in the database
db... |
2a90cb850ed516cbafc7f47a0bb07dd8f2dd08b0 | b642c2729dffc40b700036e0bd27c121d8703df7 | /pollutantmean.R | 4bf413fcc627bceb3613a48c7661cc823fb342cb | [] | no_license | OlesyaZ/R-codes | d1c5c339f435feb422e10d58766e2b4726812bb0 | 747cc71146320f4163e8a4653d0958d2e50af360 | refs/heads/master | 2016-09-06T07:41:47.233943 | 2014-05-23T02:37:54 | 2014-05-23T02:37:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 946 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
filepath<-paste(c("/Users/shurik/Documents/Olesya/RProjects/",directory,"/"),collapse="")
setwd(filepath)
filename<-dir()
n<-0
s... |
a09bcbe9a104769b23785e6d629657fab8a0a424 | f77394c2e20a1bb0d35d4dc28aec334d37086f0d | /man/nChoose2Inv.Rd | a5e642b625114b319a8e384f7216b090fe992684 | [] | no_license | stevencarlislewalker/lme4ord | 350a55dff1d224b2681428912bf18876594a5c86 | 5f6266459ba752aba0ce02ebe13d37e1ae4c7e19 | refs/heads/master | 2021-01-18T22:21:38.385881 | 2016-05-09T13:41:13 | 2016-05-09T13:41:13 | 22,126,172 | 9 | 4 | null | 2015-03-22T19:31:55 | 2014-07-23T00:38:20 | R | UTF-8 | R | false | false | 378 | rd | nChoose2Inv.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{nChoose2Inv}
\alias{nChoose2Inv}
\title{Inverse of the n-choose-2 function}
\usage{
nChoose2Inv(m)
}
\arguments{
\item{m}{a vector coercible to integer}
}
\description{
Inverse of the n-choose-2 function
}
\note{
No checks are made for non-integer input or outp... |
58bce9df0671bf901b8a567e64af172cd3bef66d | 424a109c5f16ab0417c7f9ecc4fded3c0f38ae14 | /thermal_profiles/scheduler/test_cvx_from_r.r | 89675f84d5d6e2fd3de8e59f6ed332d7f0506783 | [] | no_license | adrianalbert/EnergyAnalytics | f784aca1e549be96b865db89f2190d2dd7566f83 | 39a5d5a6ee05a643ab723d4ef8d864282870cec8 | refs/heads/master | 2020-05-29T08:51:31.888860 | 2016-03-21T15:03:47 | 2016-03-21T15:03:47 | 7,062,053 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,210 | r | test_cvx_from_r.r |
n <- 50
p <- 10
x <- matrix(rnorm(n * p), n, p)
theta.true <- rnorm(p)
y <- x %*% theta.true + 0.1 * rnorm(n)
cvx.setup.dir <- "/usr/local/MATLAB/cvx/"
cvxcode <- paste("variables theta(p)",
"minimize(square_pos(norm(y - x * theta, 2)) / 2 + lam * norm(theta, 1))",
sep=";")
lasso <-... |
555c5fba61da92e515e0778f562228394117867a | 0d0d0a8baa83af3ad38ea2e419544db094d4b9fd | /R/mort.al.R | 1f7d530448501ddecbd009de6b21de31df49c174 | [] | no_license | cran/fishmethods | 81162cf5bf35201c7ce85dd6e9815c4bca6b7646 | ac49e77d9f2b5ee892eb5eae1807e802cddd4ac8 | refs/heads/master | 2023-05-17T13:53:37.128033 | 2023-04-27T07:33:01 | 2023-04-27T07:33:01 | 17,696,062 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,436 | r | mort.al.R | mort.al<-function(relyr=NULL,tal=NULL,N=NULL, method=c(1,2,3),np=0,stper=NULL,nboot=500){
if(is.null(tal)) stop("No times-at-large data")
if(is.null(N)) stop("N data is missing")
if(length(relyr)!=length(tal)) stop("Length of year and tal differ")
if(length(N)!=length(tal)) stop("Length of N and tal differ"... |
15ffe3d7d9ddd3456723bc48085306fc134e73d9 | 30f6bd1c17b55828b00c2e35ef89ea37a8dec03a | /man/dp.Rd | 1158fd7bed63b9473efcf136969d2e94cfc7c58b | [] | no_license | cran/gmvalid | 011504e32a9ed7bbc30fc425fce48fa548ed38de | 8d697d6d331b1f919ccb19cbc2690494feb42d91 | refs/heads/master | 2021-01-19T20:18:43.393160 | 2012-10-14T00:00:00 | 2012-10-14T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,081 | rd | dp.Rd | \name{dp}
\alias{dp}
\docType{data}
\title{ Death penalty example of Simpson's paradox }
\description{
Well known example to illustrate Simpson's paradox.
The data set shows that ignoring victim's race lead to a different conclusion
than including victim's race in the analysis.
}
\usage{data(dp)}
\forma... |
a7e6f60735d330101364025ebc8dcb58cd3bc22f | c5477cf703076f8fab57215a76d7dfceadbe78f7 | /codes/R/preprocessing/getgene_trratios_excUnexpr.R | 3e1d26645d77de9d4ccf20ce01bb6147e87f6bf5 | [
"MIT"
] | permissive | PROBIC/diffsplicing | 79ea61c7ca5bdedaee00159b801c22a889f56c6e | 09b5c846de8834696c15459816e0a1916efa8b44 | refs/heads/master | 2021-01-22T14:25:27.216150 | 2017-01-11T13:43:40 | 2017-01-11T13:43:40 | 46,413,932 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,322 | r | getgene_trratios_excUnexpr.R | getgene_trratios_excUnexpr <-
function(indexFile,mcmcFileName,noSkip,start_line,end_line,sep="\t") {
source("repmat.R")
#
source("readData.R")
source("readVarData.R")
dataFileNames=list('t0000.rpkmwrong_new_MeanTecVar_abstr','t0005.rpkmwrong_new_MeanTecVar_abstr','t0010.rpkmwrong_new_MeanTecVar_abstr','t002... |
db5733fd5b0b12a5f7e05d4e114c910bb17dd567 | 39dc612b162490cba77b0a05003c5713c1f98765 | /man/mgFind.Rd | 7ae13b274c2560a6e94a6dec6c0e32fcd768a84b | [] | no_license | cran/mugnet | 2865fc0811f224bad965b72ba67c62035c77d8e8 | 0d1e7617faa2d3c3e3949bbdf1a25015b14da18a | refs/heads/master | 2021-01-10T19:34:06.179290 | 2013-12-11T00:00:00 | 2013-12-11T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 872 | rd | mgFind.Rd | \name{mgFind-method}
\alias{mgFind}
\alias{mgFind,catNetworkEvaluate-method}
\title{Find Network by Complexity}
\description{
This is a model selection routine that finds a network in a set of networks for a given complexity.
}
\usage{
mgFind(object, complexity = 0, alpha=0, factor=1)
}
\arguments{
\item{object}... |
9af652d17e43d2165c2f54b76f2a67b2b4db6b62 | 8919f1a0cdbfb0cea6c7f8ba518df14c54f70d44 | /man/file_duration.Rd | 7df9f11a0dd15303b71d1417a8de12d4abaa52f0 | [] | no_license | rethomics/tempaural | 328846eead266244f24465eca637a32eb717f01e | 4b76848c7119497637d42453316901532641038c | refs/heads/master | 2022-12-23T08:30:01.734034 | 2020-09-29T08:31:52 | 2020-09-29T08:31:52 | 270,756,079 | 0 | 0 | null | 2020-09-29T08:31:53 | 2020-06-08T17:12:55 | R | UTF-8 | R | false | true | 361 | rd | file_duration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/audio_utils.R
\name{file_duration}
\alias{file_duration}
\title{Retrieve total audio file duration}
\usage{
file_duration(path)
}
\arguments{
\item{path}{the path to the file}
}
\value{
a number of seconds
}
\description{
Uses ffprobe to esti... |
366ef9e8ea17dc98b0f84107a7fc5395d75a83f9 | d69a4bc84e9a9a3fcc58d9e117f9f43b08be52d2 | /4-fst_calc_and_plot-lmlc.R | 53f1ed9a66c278b5add513b358ab35e591c900e8 | [] | no_license | ChristieLab/sea_lamprey_adaptation | a8c66db089c348b40cd52b72f52c27db901954d6 | 713a923d7d6a1db8d21b7d2634483445b46bdd2a | refs/heads/master | 2021-02-14T12:13:01.307589 | 2020-12-07T00:39:53 | 2020-12-07T00:39:53 | 244,803,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,299 | r | 4-fst_calc_and_plot-lmlc.R | #########################################################
## calculate Fst between Lake Michigan and Lake Champlain
#########################################################
install.packages("splitstackshape",repos="https://repo.miserver.it.umich.edu/cran/",INSTALL_opts=c('--no-lock'))
library(splitstackshape)
... |
c2ccc4b93846071306bb4b3eeaffc12f99bb4093 | 27c6fd520f63e430400077f3cf5ccd355e3901a9 | /man/comethyl.Rd | 80cd977baab094acb6fc0dc02eccfdb9d11236a4 | [
"MIT"
] | permissive | cemordaunt/comethyl | cc6e1eb3328711a688553298fcf3e40b6d64b8d8 | 9e6616732093743a64e508e1bd2cf753472bc4d5 | refs/heads/master | 2023-05-01T19:21:16.619414 | 2023-04-16T22:55:52 | 2023-04-16T22:55:52 | 232,185,438 | 5 | 2 | null | null | null | null | UTF-8 | R | false | true | 933 | rd | comethyl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/comethyl.R
\docType{package}
\name{comethyl}
\alias{comethyl}
\title{comethyl: An R package for weighted region comethylation network analysis}
\description{
Comethyl builds upon the \pkg{WGCNA} package to identify and interpret modules
of co... |
e112667b341c51ecc0f50736911376aae2e995cf | 263d98677c166025ad5b76ad1adc00f45e2c0a74 | /matrix-visualize-afterCOVID19.R | 93cfdc3346b5ba7d93d3d20c0ac699fa3c22bb6e | [] | no_license | htb2m/Mid-TN-STEM-Hub-survey | 9bc9c9a04d41b74105fd7c746e2cc0f3d5db3706 | e1289a223cd2ea8fdbc1975fa095c8f104635c48 | refs/heads/master | 2022-11-20T11:03:17.892216 | 2020-07-08T21:07:15 | 2020-07-08T21:07:15 | 275,248,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,816 | r | matrix-visualize-afterCOVID19.R |
library(tidyverse)
library(likert)
library(xtable)
library(sjPlot)
library(HH)
library(data.table)
library(wesanderson)
library(here)
library(knitr)
### Loading data
raw <- read.csv(here::here("data", "Mid-TN-STEM-Hub-afterCOVID19.csv")) %>%
filter(Finished == TRUE)
### Gathering columns
data <- raw %>%
... |
3b73b9f5f325aa00c84ced4b562542b1e3bbfa14 | 6da149100fc6ad2c8cfd6cd11369f72da7390ecf | /Plot2.R | e079526781ca5b6cfa950387da42a80ffc9f3ac1 | [] | no_license | corinnehelman/Datasciencecoursera | 9dfa3f868f4718d858a10d3c469fedee490268c0 | 8e8913dce804a26e5f6775e8f059b844fcfdad51 | refs/heads/master | 2021-01-11T09:30:10.408331 | 2017-04-27T23:14:42 | 2017-04-27T23:14:42 | 81,219,379 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | Plot2.R |
setwd("C:/Users/helmac1/Documents/Personal/Coursera/Exploratory Data Program 1")
# read the file given in the assignment
data=read.csv('household_power_consumption.txt',header=T, sep=';')
#merge column 1 and column 2 to create datatime variable
data$Datetime = paste(as.character(data[,1]) , data[,2])
# ref... |
86ee3134ed606b7a69bd51b05716b4da0806348b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/flatxml/examples/fxml_importXMLFlat.Rd.R | 11ee03398d0c80d998963ccfa4a52659746cf209 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | r | fxml_importXMLFlat.Rd.R | library(flatxml)
### Name: fxml_importXMLFlat
### Title: Handling flat XML files
### Aliases: fxml_importXMLFlat
### ** Examples
# Load example file with population data from United Nations Statistics Division
example <- system.file("worldpopulation.xml", package="flatxml")
# Create flat dataframe from XML
xml.data... |
e6cbfdf3762e1d16033ac472fc798840b6c232ea | 3997fbf41072fac9f272cf8b235fb48f992a7b68 | /GAP/Phase3/v2/Clustering_v2_Cor.R | 71d29f59ad7de2eb8c30b0ca9c1b9d98bd8779b8 | [] | no_license | haoybl/Data-Analysis | 873ebc76caed64d40dffeae87b119e6bd6fe2f57 | a51117cf8e40b303a87972b1ef1cd58bd1d38159 | refs/heads/master | 2021-06-13T11:35:50.770320 | 2017-02-08T12:09:24 | 2017-02-08T12:09:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,088 | r | Clustering_v2_Cor.R | # --------------------------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------... |
e0a175b2247706ccb8118e12f9c3c5e41763b51e | 9f014a3161bcf8a4dc5971e67c536c82210571a2 | /script_logs/plotting_pca.R | e1babaccbe7315b2fb88ea56ae8067b04e5065a1 | [] | no_license | mas-agis/ch_at_selsig | c296681b9facd10492d219b3bffbeb5722be2f0a | 3b1c7c2a22ff3e3511a676d75dfdf812562a1394 | refs/heads/main | 2023-08-27T16:44:39.507590 | 2021-11-11T08:06:17 | 2021-11-11T08:06:17 | 361,705,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,894 | r | plotting_pca.R | ##plotting pca for Chinese, Austrian, and other breeds
setwd("D:/maulana/third_project/pca/")
library(ggplot2)
library(dplyr)
#load dataset
data = read.table("filtered_multi_merged_pca.eigenvec",header=T, sep="\t")
data$Breed = data$FID
#adding group_id
data$group_id = data %>% group_indices(Breed)
data$group_id = as.f... |
fb39a010bb86e22ab41012a75b15e52503b90052 | 40c486fff25ed3fcfe28bca1f7b3b85c768ff017 | /misc/create_hex.R | ed4578e863cbc57b15a4922767d884e17c1f1af1 | [
"MIT"
] | permissive | baifengbai/carbonate | 18264f1b6a71ed79315fbcca851abe3d97e4afb4 | 4d6007da6ef090255cbae92e788b3f211519fb67 | refs/heads/master | 2020-03-25T03:57:02.149021 | 2018-08-03T02:50:03 | 2018-08-03T02:50:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 914 | r | create_hex.R | imgurl <- 'https://www.mouthhealthy.org/~/media/MouthHealthy/Images/Articles/article_sparkling_water.jpg?h=307&la=en&w=460&hash=C5B22EB96AB5D4C5BFBDF360A745D108E2AF053F'
hexSticker::sticker(imgurl, package="carbonate", p_size=8, s_x=1, s_y=.75, s_width=.6,
p_color = "grey",
h_co... |
3779e8c53ad52a0fbfda11b6dff6ee8c81bab18f | ebbd0565053ea3fb0518f2a720bc20d5c76b0f1b | /R/utils-select.R | 3cfbf02fecb470a4efa2560aa321301729c91522 | [
"Apache-2.0"
] | permissive | steffilazerte/bcdata | 1b7ace9585ac77905510cc725dd85607879758c1 | 4be2a3005126b542349db8d8963f4dbc76d9b79d | refs/heads/master | 2020-08-15T16:37:03.895918 | 2019-10-11T21:23:24 | 2019-10-11T21:23:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 171 | r | utils-select.R | #' select
#'
#' See \code{dplyr::\link[dplyr]{select}} for details.
#'
#' @name select
#' @rdname select
#' @keywords internal
#' @export
#' @importFrom dplyr select
NULL
|
6d96d522d22c60a19cad2f006e7e7d248378d193 | 077ea46024a43957a2ea613b84317ff21cb7e21a | /R/idlist.r | 7b4906ecea81ee207b33e9b3660dcf56d288c2c0 | [
"MIT"
] | permissive | gschofl/rentrez | 789832d8654d75871b3fbd17dc217b4c41da933d | e604fa13f6eb2d138ba78156d0aaa45383ed4cb8 | refs/heads/master | 2020-06-04T08:29:22.741764 | 2013-11-29T15:02:21 | 2013-11-29T15:02:21 | 3,693,664 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,375 | r | idlist.r | #' @include utils.r
#' @include eutil.r
NULL
# idList ------------------------------------------------------------
#' A list of Entrez UIDs that match a text query
#'
#' @slot database Database from which the UIDs were retrieved.
#' @slot retstart The index of the first UID that is returned.
#' @slot retmax The nu... |
e218efac8d2c1c81cf72771ddd328205a68df99d | 7ac133f9871f201f7a956f3b239d8f0030907c06 | /man/bounds_to_sf.Rd | 25fbbc83f73511efa07934cf9852489bba10d3ce | [
"MIT"
] | permissive | gopalpenny/anem | 1029318ca01a6172b365ddb7d2181135d909d92c | f2ba63622e0e67a08423b20c5f09a34b6433f6d0 | refs/heads/master | 2021-07-09T21:43:07.502292 | 2020-12-16T15:25:36 | 2020-12-16T15:25:36 | 219,404,991 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 406 | rd | bounds_to_sf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/anem_geoprocessing.R
\name{bounds_to_sf}
\alias{bounds_to_sf}
\title{Get bounds as sf object}
\usage{
bounds_to_sf(bounds, crs)
}
\description{
Convert bounds object with bID, x1, y1, x2, y2 to sf object
}
\examples{
\dontrun{
bounds <- data.... |
90067368a477f0b8339e86b201e91ded8287b21c | 2e153ae8555be87036cab0d3b51c1beb60f531d7 | /Scripts/05-purrr.R | 4f35aa1dc035d6fba99af8751fe77ab529694c9b | [] | no_license | brunolucian/CursoIntermediarioR | c721d817fe8b296645a8d54dfee69a816c564d42 | f2c2ae0cd75a3e24f98eb89ade31996c95ae8b85 | refs/heads/main | 2023-06-21T12:44:17.238391 | 2021-07-29T19:49:28 | 2021-07-29T19:49:28 | 380,760,876 | 0 | 0 | null | 2021-07-29T19:49:29 | 2021-06-27T14:29:41 | R | UTF-8 | R | false | false | 2,005 | r | 05-purrr.R | ## Instalando pacotes ---------------------------------
install.packages(c("Rtools", "devtools", "purrr"))
devtools::install_github("jennybc/repurrrsive")
library(repurrrsive)
library(tidyverse) # Ou
library(purrr)
## 01 - map -------------------------------------------
length(sw_people)
sw_people[[1]]
sw_people[1]... |
77e7cb32259f3cd268715d0320f1ec9930e91c64 | f5f142e469ba0526a2768a509630c8b5156b1fcb | /man/shuffle.Rd | 88b91dd3f78c812ae97c8b7a71ff61db76541aef | [] | no_license | JohnMCMa/dendextend | 350ca633b439b8964eec739ba9247c9527ae37f4 | 1e25e5bf786d943b3aa651f4257336462187d43c | refs/heads/master | 2021-01-18T16:05:01.686085 | 2017-03-30T14:15:29 | 2017-03-30T14:15:29 | 86,709,713 | 0 | 0 | null | 2017-03-30T14:06:03 | 2017-03-30T14:06:03 | null | UTF-8 | R | false | true | 1,742 | rd | shuffle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/untangle.R
\name{shuffle}
\alias{shuffle}
\alias{shuffle.default}
\alias{shuffle.dendlist}
\alias{shuffle.dendrogram}
\alias{shuffle.hclust}
\alias{shuffle.phylo}
\title{Random rotation of trees}
\usage{
shuffle(dend, ...)
\method{shuffle}{d... |
c55f6c433dd8b384574c0cbe501a7c2376500e12 | 8f25e74f97a270225c270f87d1cc48e8fc3cfd51 | /proyecto numerico/pruebas.R | 408f6624cad8a3db713393583426106ed58c7ba3 | [] | no_license | camiloserr/numerico | e7d6f96b3bf396604ccab6db01e5643e23049263 | 323caf00cf94e5b89d57c023df3389841e553390 | refs/heads/master | 2020-03-24T05:37:11.732799 | 2018-11-14T16:51:11 | 2018-11-14T16:51:11 | 142,495,415 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 648 | r | pruebas.R | #ejemplos para la funcion del metodo secante
f <- function(x){
return (x*x -1)
}
g <- function(x){
return (sin(x))
}
h <- function(x){
return (x^3 - 4*x^2 + 5*x +88 )
}
secante(f , 0 , 2)
secante(g , 0.6 , 50)
#utilizando el paraetro opcional de error
secante(h , -5 , 6 , 0.0000001)
... |
528fd8e48fad92775db0a961c12d364d31d59b4e | ab8389cf60a6e9bec54b90641ed517f459a09e42 | /hw04/code/functions.R | 212fcb424c33c28bb107bef0a16db12a63f513e6 | [] | no_license | joshasuncion/stat133-hws-fall17 | 16ebf3655c86d57fb993ac338a2ad06919d3759a | ae173045a3a15f4cd62765bbee5616e23e096b5c | refs/heads/master | 2021-03-27T13:13:48.367023 | 2017-12-04T05:11:06 | 2017-12-04T05:11:06 | 103,681,067 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,404 | r | functions.R | # load required library
library("stringr")
# title: remove_missing
# description: remove missing values from numeric vector
# arguments: numeric vector
# output: numeric vector
remove_missing <- function(x) {
x[is.na(x) == FALSE]
}
# title: check_missing
# description: check if numeric vector has missing values and... |
e015a9c2e2c09d5ca1f1f9d8977b0360cd43d213 | fc087468a9a228a59f819285eb0fc4c2b726934c | /week 2 notes.R | 67a7da4759415c8e8ceaf33f1e8b6550395e36d3 | [] | no_license | jmsahakian/R_DAVIS_in_class_project | 16475f15c78bb20ffb27d61bcd01feb04fc9f468 | 312481656b104706c692c59c501e658ff020eca3 | refs/heads/master | 2020-11-25T05:17:13.101369 | 2020-05-01T02:33:35 | 2020-05-01T02:33:35 | 228,517,141 | 0 | 0 | null | 2019-12-17T02:36:09 | 2019-12-17T02:36:09 | null | UTF-8 | R | false | false | 1,064 | r | week 2 notes.R | #R week 2
#assign value
x <- 99
x <- 5
y <- x*2
x <- 20
y
# we are evaluating and storing output
# we are not creating a link!
# can also use = for assignment, but use the <-
# use = to set arguments within functions
#how R talks back
log_of_word <- log("word")
#error
log_of_word
# there is no object because there ... |
42dcf45ac17ded4555aa4b7c459c050a42c8e2ff | 67f1a42214608b4178521e88082021142c470142 | /Practica 3/Practica3/PRACTICA3.2_BD_danishuni.R | 477d67875391463bb3d7f075bfab0ce745ad5eb0 | [] | no_license | JORGECASAN/Gestion_Riesgo_Operativo | b49d20a63900c7ad89bf91814709971d9676c987 | c3ed31cf1db7ebc03c9dca08454881550eeebc07 | refs/heads/master | 2020-06-01T00:05:35.998003 | 2019-06-06T09:05:51 | 2019-06-06T09:05:51 | 190,550,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,611 | r | PRACTICA3.2_BD_danishuni.R | ##################### VALORES EXTREMOS #######################
#Incluir
library(MASS)
library(CASdatasets)
library(car)
library(actuar)
library(fitdistrplus)
library(ggplot2)
#Los datos con los que trabajaremos son los de danishuni
data(danishuni)
head(danishuni)
x <-danishuni$Loss
summary(x)
var(x)
quantile... |
4a68bbadf1c01713677221e41b31ccc1db4e24e2 | 3f20308cfc97d01fb54ea04d1dfd96dd5ae531c7 | /analysis/analyse-simulation-results.R | b72da876f4347b43db9e178cd7b2e9d4b8222cb9 | [] | no_license | plsm/mds | 083f290b4d2515dd6f007df0903ed2a7c5f718b3 | 323daf2f447f3fd7cfde5909ba60f24a5b16159e | refs/heads/master | 2020-03-16T09:02:42.826319 | 2018-05-16T07:46:06 | 2018-05-16T07:46:06 | 132,607,519 | 0 | 0 | null | 2018-05-08T12:43:34 | 2018-05-08T12:43:34 | null | UTF-8 | R | false | false | 2,802 | r | analyse-simulation-results.R | library ("data.table")
library ("igraph")
analyse.simulation.results <- function (
number.nodes,
index.graph,
interactive = FALSE
) {
## read simulation results ####
data <- fread (
input = sprintf (
"results-graph_%d.csv",
index.graph
),
header = FALSE
)
## compute solutions ####... |
42d58d89c9ce2f032cb12be6cfc14e54bcfac780 | c916b2c777d04f4b4697035d8a4a58626e953f8b | /run_analysis.R | 31bb0f82c0b214c78b834c22677657c2a96d4f6f | [] | no_license | frapgi/GettingAndCleaningData | 72b485be5669d067f093a3d8d7acdfbf9f3cde80 | 86e3c3ae9d87bced103cd3912ef685401fcc8a04 | refs/heads/master | 2021-01-02T09:44:20.709922 | 2015-08-23T13:49:19 | 2015-08-23T13:49:19 | 41,250,045 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,125 | r | run_analysis.R | #Reshape lets you flexibly restructure and aggregate data using just two functions: melt and cast.
library(reshape2)
filename <- "getdata_dataset.zip"
## Download and unzip the data
if (!file.exists(filename)){
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip " ... |
f58254b63f23d50719f69c1a962c77d1287ddbf0 | ec94dddf45e332663da3e37db2feeb709221d763 | /man/gen_gumbel.Rd | 2d98f3a308c0791ce1af23b78a0dbf0dabbcfd79 | [
"Apache-2.0"
] | permissive | AntoineDubois/sdcv2 | 44687ab28a1c7aa3c82702ee2506257a20475994 | 53041ecc32698089a66a0df7911dd7c0f461cc34 | refs/heads/master | 2023-07-16T20:07:11.525114 | 2021-09-06T15:27:46 | 2021-09-06T15:27:46 | 386,579,310 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 546 | rd | gen_gumbel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{gen_gumbel}
\alias{gen_gumbel}
\title{gen_gumbel}
\usage{
gen_gumbel(n, m, param)
}
\arguments{
\item{n}{The number rows}
\item{m}{The number of columns}
\item{location}{The optional location parameter}
\item{scale}{T... |
9018325bae6168720b09707b567547c6dd64b6ba | a728853b176f767dcec0f43936dcf49835b8c7d4 | /code/1october_cpg.R | c07d81ede56c22286188d6849b5edfa9e068a695 | [] | no_license | caleblareau/immgen_final | 263a171d0e5f35f66f3eb457a3a78432bb62ff09 | 8a852a9b40b9709e043bb4e8190f8bf930e80c3b | refs/heads/master | 2021-09-15T04:38:58.604526 | 2018-05-26T00:46:28 | 2018-05-26T00:46:28 | 100,637,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,959 | r | 1october_cpg.R | library(data.table)
library(GenomicRanges)
library(BSgenome.Mmusculus.UCSC.mm10)
library(tidyverse)
library(motifmatchr)
library(BuenColors)
library(chromVARmotifs)
library(magrittr)
library(SummarizedExperiment)
cpg <- read.table("../data/mm10_cpgIslandExt.txt")
expressedGenes <- read.table("../data/expressed_genes_... |
64ba8591efd5fe9e65848a3d4849cf8dee80fa4b | 5f6fca5dcf1331f0f0ecba1af68d062612c9c7d3 | /Projekt_2/IFSZuzanna/R/sierpinskiTriangle.R | 06cb22e146c655555f3e0f5a76111a652b2d3b55 | [] | no_license | ultramargarine/ProgramowanieWizualizacja2017 | 421666d332c3ff3ffea40b6d12be10537ef41654 | fcfd5b393717ec6ca96919656b44d3c4bcbd7d93 | refs/heads/master | 2021-09-15T09:01:58.860448 | 2018-03-08T22:00:50 | 2018-03-08T22:00:50 | 105,997,439 | 0 | 0 | null | 2018-03-08T21:58:51 | 2017-10-06T11:32:12 | R | UTF-8 | R | false | false | 752 | r | sierpinskiTriangle.R | #Sierpinski triangle
sierpinski_triangle_f1 <- function(point) {
x<- point[1]
y<- point[2]
c(0.5 * x, 0.5 * y)
}
sierpinski_triangle_f2 <- function(point) {
x<- point[1]
y<- point[2]
c(0.5 * x +0.5, 0.5 * y)
}
sierpinski_triangle_f3 <- function(point) {
x<- point[1]
y<- point[2]
c(0.... |
3043b41e84265b3faa301ae56391e7081af60988 | 5ff3b78779f3eeb378de6f23b947b1249eb2d658 | /install.R | 331ddb969b14e005627f83709a16414eccff791d | [] | no_license | gnguy/binder_base | 70a08439d7eb38c7bdf9373382da25ca8341298b | 25694a8f89da435d93d3171b930adefd1af4247b | refs/heads/master | 2020-08-07T12:57:57.648354 | 2019-10-10T22:32:42 | 2019-10-10T22:32:42 | 213,460,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 439 | r | install.R | install_packages <- function(package_name) {
if(!package_name %in% installed.packages()) install.packages(package_name)
}
package_list <- c("tidyverse", "readr", "dplyr", "shiny", "shinythemes", "plotly", "data.table",
"xgboost", "lme4", "Hmisc", "htmlwidgets", "openxlsx", "DT",
... |
59eaf571193346b2d916ac4d3db9ffef43fb66f3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MixGHD/examples/MGHFA.Rd.R | 537042453b5bedbde207e4338fbcdcbf7a04fb19 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | MGHFA.Rd.R | library(MixGHD)
### Name: MGHFA
### Title: Mixture of generalized hyperbolic factor analyzers (MGHFA).
### Aliases: MGHFA
### Keywords: Clustering Classification Generalized hyperboilc distribution
### ** Examples
## Classification
#70% belong to the training set
data(sonar)
label=sonar[,61]
set.seed(4)
a=round(... |
2e29f4b500e7286dc497b618bce9038753789b6b | c8674dc53aa778b3d8c0759f117b8872196d3009 | /man/DisplayFirstStageTestResult.Rd | abe43239f70f0a35c9ff062a409bb88999139c41 | [] | no_license | andrewhaoyu/TOP | d8acae9cd8668d70f424997cc6c91b21bf5b5dce | 0de8cd088754079b9b9a11ee785fc6a34f3bab29 | refs/heads/master | 2022-10-04T21:39:09.104998 | 2022-08-25T21:19:01 | 2022-08-25T21:19:01 | 148,667,732 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 496 | rd | DisplayFirstStageTestResult.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/display_95CI_p.R
\name{DisplayFirstStageTestResult}
\alias{DisplayFirstStageTestResult}
\title{Display the first stage parameters}
\usage{
DisplayFirstStageTestResult(logodds, sigma, places = 5)
}
\arguments{
\item{logodds}{the log odds ratio... |
68c5c6ca932dae04d941663133d588bd7d564565 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9105_0/rinput.R | ee75b748990249545685abf10665e2a532b496ac | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("9105_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9105_0_unrooted.txt") |
53029be823a3c14da8572ecde4e51e9aaa789f30 | fd6188d76cf7906f8b875a83a9422760f562feff | /Plot4.R | 2e22248ca2fa632db6d9b36593e6d2ec362c97c7 | [] | no_license | s6juncheng/ExData_Plotting1 | cd352f4338385acc4eccf65922167f9a2a6611a8 | 814e28205858246a21debb759cdd866c78bc37f8 | refs/heads/master | 2021-01-22T17:14:57.266191 | 2014-05-11T21:49:04 | 2014-05-11T21:49:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,300 | r | Plot4.R | hhc = read.delim("~//household_power_consumption.txt", header = T, sep = ';')
# subset dates only 2007-02-01 and 2007-02-02
hhc_sub = hhc[which(hhc$Date %in% c('1/2/2007','2/2/2007')),]
#Plot
#Convert time information
time = hhc_sub$Time
dates = hhc_sub$Date
y = paste(dates, time)
x = strptime(y, '%d/%m/%Y %H:%M:%... |
a31f9ed8d1ad1a0e9b0afb2770842b65259a3f11 | d8d26acba4663c2ac46a21b12564502c57ecc64b | /man/get.gist.forks.Rd | 6c0ea5589fe44e53208a5bb23d724ef777cd7c6b | [
"MIT"
] | permissive | cscheid/rgithub | c8bb02276999f202ec3b8053d7eccf96881d5d0c | e98afc3bbf2971a59536fc3ac5ee1ec7c54ead8b | refs/heads/master | 2020-12-29T02:32:38.156169 | 2018-06-06T17:32:57 | 2018-06-06T17:32:57 | 8,487,945 | 57 | 26 | null | 2017-05-14T22:10:10 | 2013-02-28T20:57:49 | R | UTF-8 | R | false | true | 378 | rd | get.gist.forks.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gists.R
\name{get.gist.forks}
\alias{get.gist.forks}
\title{list the forks of a gist}
\usage{
get.gist.forks(id, ctx = get.github.context())
}
\arguments{
\item{id}{the gist id}
\item{ctx}{the github context object}
}
\value{
the list of for... |
b95dbf26d04fb6841002b207e658bbea68aab7b2 | 37b9f0b3f0728963c34468a11c584bb6a109a508 | /SurvivorshipPlotsFromDam.R | 7209d00a99631e897921324aa18175619a39a092 | [] | no_license | PletcherLab/DAMSurvival | 3a0a25429d7f7a785e18872326c35e9804ae883b | d2fa24054fd62bfeff40939e250889a114a5e1c6 | refs/heads/master | 2022-12-24T18:26:12.821259 | 2022-12-08T22:42:01 | 2022-12-08T22:42:01 | 149,170,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,323 | r | SurvivorshipPlotsFromDam.R |
#Strategy to create a program to find and plot lifespan of flies in activity monitors:
#Steps
#read in DAM txt files. Prompt to assign treatment group to each monitor file, or add headder with all columns labeled.
#merge data into single frame for similar treatments using time and date columns to align data
#Activity... |
5e337e50e7d8d1dd391898a319aa76cfc6fbe3e0 | 26c8f804713c611eb5c931d09a2a71f526ead746 | /sl_pairs_script.r | 4b3b6b06d656402b14f7088b681dbea9eb2e033b | [] | no_license | djinnome/crop | f57c2daec28bb040af87164706756a9f01f07a45 | c3f409c5efc4d518b560b160e4afdb78d7824aec | refs/heads/master | 2021-01-11T06:36:15.885581 | 2017-02-06T21:19:23 | 2017-02-06T21:19:23 | 81,134,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 945 | r | sl_pairs_script.r | ##jmd
##6.5.12
##sl_pairs_script.r
source('/msc/neurospora/FBA/farm/farm_header.r')
non.essential.thresh <- 0.05
#non-essential genes
g.mat <- read.csv('singleKO_growth.csv', row.names=1)
g.mat$growth[is.na(g.mat$growth)] <- 0
ne.genes <- setdiff(genes, g.mat[g.mat$growth<=non.essential.thresh, 'genes'])
ne.genes <-... |
1bf20a218d81b4cfad45f5adb3acb0979449cf53 | ae6803fae339a39e090694330342617b85c5a923 | /test_runs.R | 7751c36724d5df21ca968a95e5c0b2e053e7486a | [] | no_license | blinatzju/Test | 1157ce1a2c8aad3616a16534d9203e5c0d6bdfa0 | 576267be46d0a1092a06c2f339b610b3a44717e7 | refs/heads/main | 2023-06-25T01:43:42.231459 | 2021-07-17T15:08:14 | 2021-07-17T15:08:14 | 386,965,213 | 0 | 0 | null | 2021-07-17T14:59:20 | 2021-07-17T14:51:35 | null | UTF-8 | R | false | false | 2,291 | r | test_runs.R | # | (C) 2008-2021 Potsdam Institute for Climate Impact Research (PIK)
# | authors, and contributors see CITATION.cff file. This file is part
# | of MAgPIE and licensed under AGPL-3.0-or-later. Under Section 7 of
# | AGPL-3.0, you are granted additional permissions described in the
# | MAgPIE License Exception, ver... |
4be03dd5b320e964799ca5d2b4f637b70dc19f7b | 0c5f062e3bbc9d24b4d27b9fc9076378a6b2e914 | /man/plotPost.Rd | a6bee3465bd6a67fe4574d1cc98697a4fea682b7 | [
"MIT"
] | permissive | mzheng3/DBDA2E-utilities | d7ee545b56cf9b820739af6a3889fca64430b610 | 2b2ee721313e22703e7d65da4216e459330ec2ae | refs/heads/master | 2020-12-19T22:48:53.507407 | 2017-09-24T21:19:16 | 2017-09-24T21:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 878 | rd | plotPost.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DBDA2E.R
\name{plotPost}
\alias{plotPost}
\title{Title}
\usage{
plotPost(paramSampleVec, cenTend = c("mode", "median", "mean")[1],
compVal = NULL, ROPE = NULL, credMass = 0.95, HDItextPlace = 0.7,
xlab = NULL, xlim = NULL, yaxt = NULL, yl... |
5f1ba94181a955032c8ec622dd5c34b2f3146ca6 | 92f821481a4430514c981aeb464a63ccd52939c3 | /Wordcloud.R | 19b0ae172cde001a3a1e405228fc505e7fa3cb5f | [] | no_license | DongyuanZhou/MA615-Brand-Data-Analysis | ed28fb8bf0f71c82a9bde228ef66bd69da1de97a | 4b118d78d7524f3fa867a56f0ba213e916342cbc | refs/heads/master | 2021-09-07T12:20:42.191117 | 2018-02-22T20:48:19 | 2018-02-22T20:48:19 | 114,302,528 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,345 | r | Wordcloud.R | library(plyr)
library(tidytext)
library(tidyverse)
library(twitteR)
library(stringr)
library(wordcloud)
library(reshape2)
library(RgoogleMaps)
library(ggmap)
library(ggplot2)
library(maptools)
library(sp)
library(tm)
library(NLP)
library(devtools)
library(streamR)
library(RCurl)
library(dplyr)
library... |
4b862de1a959c93a67f5e83b19b432a050ef2f99 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dlnm/examples/ps.Rd.R | 18d987277c14e5fd05feaa1ae240d14589ed16cf | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 155 | r | ps.Rd.R | library(dlnm)
### Name: ps
### Title: Generate a Basis Matrix for P-Splines
### Aliases: ps
### Keywords: smooth
### ** Examples
# to be added soon
|
b1855113077a9352eefd4297df85dfce6b313a20 | abee2469068f2bbb363992fee86079042ccfbd71 | /processing/prot_csv/Trial_1/plot.R | 2acb9d4bac463bc518e044b3e9ef6dd92869e124 | [] | no_license | naoki709mm/thesis | 5fe5bfa8ee02a9bfc604ad7130f6c4220e4de29b | 8bd9cd03173f5935f5a266d99f85a64228bd40a6 | refs/heads/master | 2020-04-06T22:13:16.132169 | 2020-02-04T09:24:00 | 2020-02-04T09:24:00 | 157,828,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 278 | r | plot.R | setwd("./")
csv_list <- list.files(pattern = "*.csv")
data_name <- c("time","dis","pre")
data <- read.csv(csv_list[13])
names(data) <- data_name
a=30000/4
par(mfcol=c(4,1))
for(i in 1:4){
plot(data$time,data$pre,xlim=c(8000+(i-1)*a,8000+i*a),ylim=c(400,1024),type="l")
} |
1cf5a93913a654efc9f4fbf6df09833219c88685 | 57fb6ec71a43ff3181219c26e1f8886f961c5f71 | /man/plotratetable.Rd | 7bc60092bb58c5dd860965be5263401004daaf19 | [] | no_license | cran/cohorttools | bfcac04f739e8af036f5d8dd6a7bdacda6a8d554 | 0029bdd514ac9de75ee44d36c1333fe4f15ec1b4 | refs/heads/master | 2022-12-05T12:56:49.832995 | 2022-11-23T11:00:04 | 2022-11-23T11:00:04 | 218,080,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 732 | rd | plotratetable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cohorttools.R
\name{plotratetable}
\alias{plotratetable}
\title{Function makes plot(s) from ratetable}
\usage{
plotratetable(rt, RR = FALSE)
}
\arguments{
\item{rt}{Rate table produced by function mkratetable}
\item{RR}{Boolean, if TRUE rate... |
d2c13d723956e4a3a5a29c61be67dafd54c0c991 | d202001d19455376b5651fd487c1dab09c786c29 | /plot4.R | d7254bc6748c80de54b7093e1963a51fa5961e68 | [] | no_license | xinpingluo/ExData_Plotting1 | 0b88ada91e1e7805dcedda1ab4649162dbbc4056 | ad4d36190989efe184da17f1b817ae11ce9d5acc | refs/heads/master | 2021-01-10T21:23:15.343275 | 2014-11-06T15:58:24 | 2014-11-06T15:58:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,310 | r | plot4.R | # load data and headers
setwd("C:/Users/DE-77691/Documents/1_Work/Tasks/Coursera/Lec4/W1/")
household_power_consumption <- read.table('household_power_consumption.txt', header=T, sep=';', skip=66637, nrows=2880)
header <- read.table('household_power_consumption.txt', header=T, sep=';', nrows=1)
colnames(household_power... |
b8a0bd96bd69b6ef6ff7b2f1bf28d1a45062ab59 | 36ffd73da2aa9f5e8f2cc0c327ae0ec273612137 | /man/esri2sf.Rd | b7f74faaab4cd683cd968eee6652fdacdf32ea20 | [] | no_license | Memo1986/esri2sf | ba2d50cad08f91e0eb53450669d7ca6b92da4c40 | d57a71a0729e63926ca9bf032c7ec9dc9f0f41d5 | refs/heads/master | 2023-08-02T20:17:35.225796 | 2021-09-27T02:55:36 | 2021-09-27T02:55:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,901 | rd | esri2sf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/esri2sf.R
\name{esri2sf}
\alias{esri2sf}
\alias{esri2df}
\alias{esrimeta}
\title{Import data from ESRI's ArcGIS Server}
\usage{
esri2sf(
url,
outFields = c("*"),
where = "1=1",
bbox = NULL,
token = "",
geomType = NULL,
crs = 432... |
d9cd20e9550b1021ddd3f90645caab74f32ddf93 | 7df184a0ef265bb144ebf912f9348788f866fe4c | /man/draw.ipca.Rd | 0b22a90243b84249d5f9d088926b735ae2c16264 | [] | no_license | DATAUNIRIO/BETS | 43b60119c1cfc676c807696fa98dc5d943f44aa8 | 9fe70387d699d8db6878b5dd99dd13ecc2f94752 | refs/heads/master | 2021-01-21T20:23:54.349996 | 2017-05-23T01:57:25 | 2017-05-23T01:57:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 655 | rd | draw.ipca.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/draw.ipca.R
\name{draw.ipca}
\alias{draw.ipca}
\title{Create a chart of the National Consumer Price Index time series}
\usage{
draw.ipca()
}
\arguments{
\item{start}{A \code{character}. The stating period of the series.}
\item{ylim}{A \code{... |
f7e7f6f576b439f9c46593a06bb60d9e48d508c6 | 37800c21f243e1a19e856ea8b7f14ee2744573fc | /fevd.R | 7f6c90f5b7cd24437f76f76984f3d09eb155e8d9 | [] | no_license | KlayLee/Wavelet-DY | a174f2c79ef759953459315e595022ee77b63df4 | dfbf62c601668f352fa1951e50d0baf7b6c46271 | refs/heads/main | 2023-06-02T16:28:35.227350 | 2021-06-28T07:38:35 | 2021-06-28T07:38:35 | 380,890,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,591 | r | fevd.R | irf <- function(est, n.ahead, ...) {
if (class(est) %in% c("varest", "vec2var")) {
# cat("The model is from the vars package, using irf function from there.")
return(vars::irf(est, n.ahead = n.ahead, boot = F, ortho = F))
} else if (class(est)=="BigVAR.results") {
# cat("The model is from BigVAR package, using ... |
a556887b108e6f9f5d28e4e5213cee862955e904 | 6dde5e79e31f29db901c81e4286fea4fa6adbc48 | /demo/growthreg.R | 0e7cd5d7f3de0b5939fcb43a68e0ed7588f5773f | [] | no_license | cran/fda | 21b10e67f4edd97731a37848d103ccc0ef015f5a | 68dfa29e2575fb45f84eb34497bb0e2bb795540f | refs/heads/master | 2023-06-08T07:08:07.321404 | 2023-05-23T22:32:07 | 2023-05-23T22:32:07 | 17,696,014 | 23 | 19 | null | 2022-03-13T17:58:28 | 2014-03-13T04:40:29 | R | UTF-8 | R | false | false | 4,383 | r | growthreg.R | # ---------------------------------------------------------------------
# Register the velocity curves for the girls
# ---------------------------------------------------------------------
# load the data
load("growthfd")
hgtffdPar <- growthfd$hgtffdPar
hgtffd <- hgtffdPar$fd
age <- c( seq(1, 2, 0... |
9e442cc1cf9a6e14b55bd7143a89a873ea6f6a00 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RSocrata/examples/write.socrata.Rd.R | 043d52a207fa6f0d438b54562da097c6e4e4f6c3 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 623 | r | write.socrata.Rd.R | library(RSocrata)
### Name: write.socrata
### Title: Write to a Socrata dataset (full replace or upsert)
### Aliases: write.socrata
### ** Examples
# Store user email and password
socrataEmail <- Sys.getenv("SOCRATA_EMAIL", "mark.silverberg+soda.demo@socrata.com")
socrataPassword <- Sys.getenv("SOCRATA_PASSWORD", "... |
543f787153c31b4122a373ec1fd53d06461a21bb | 89809ddebb058648cef55bc925b2c2da92d0ae7f | /R/validate_and_errors_methods.R | dfd237f34f12b81f9b4dc53b319895003cba917f | [
"MIT"
] | permissive | calejero/RswissknifeDB | 62dc797a9521c4d40c7433cfa899e61a56126c42 | 63902f2ed9cf2459efa7d5e60d126964cfe90244 | refs/heads/master | 2020-12-04T12:57:02.417850 | 2020-06-04T20:12:12 | 2020-06-04T20:12:12 | 231,773,424 | 1 | 0 | MIT | 2020-06-04T16:30:26 | 2020-01-04T14:05:24 | R | UTF-8 | R | false | false | 1,100 | r | validate_and_errors_methods.R | ManagementDBOperationsErrors <- function(type, connection) {
message(paste("===================================================="))
message(paste("Wrong operation:", type))
message(paste("Connection name:", connection))
message(paste("===================================================="))
}
ValidateSlaveQuery... |
0780cfb9b74c39d4ab0977f36c3428c972a79886 | 307b0f73161701e48e24192aea10713c4c76db13 | /R/transform-lancet.R | ec4624f75a5a8051c9a7d800ce9121baff0f707f | [] | no_license | spgarbet/tangram | aef70355a5aa28cc39015bb270a7a5fd9ab4333c | bd3fc4b47018ba47982f2cfbe25b0b93d1023d4f | refs/heads/master | 2023-02-21T03:07:43.695509 | 2023-02-09T17:47:22 | 2023-02-09T17:47:22 | 65,498,245 | 58 | 3 | null | 2020-03-24T15:28:05 | 2016-08-11T20:07:01 | R | UTF-8 | R | false | false | 1,663 | r | transform-lancet.R | # tangram a general purpose table toolkit for R
# Copyright (C) 2017-2018 Shawn Garbett
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... |
f840b0c422d8373e2d8f2a5422318a6e0bf651f7 | f8adc1feb8c2c0893090fa8cd80cfcd6ad984c24 | /man/wtc.sig.Rd | 6b3b4bb1cc2504a23271943f0363a2173c447cb3 | [] | no_license | wafels/biwavelet | 5eb0770613d90bf26d0161002c1d9ad3ae076f23 | c551b36852d2c14e216f15b5a427996afcd1444c | refs/heads/master | 2021-01-18T16:52:01.055064 | 2014-09-10T07:47:37 | 2014-09-10T07:47:37 | 24,968,435 | 0 | 0 | null | 2016-09-09T15:17:46 | 2014-10-09T01:27:27 | null | UTF-8 | R | false | false | 2,603 | rd | wtc.sig.Rd | \name{wtc.sig}
\alias{wtc.sig}
\title{
Determine significance of wavelet coherence
}
\description{
Determine significance of wavelet coherence
}
\usage{
wtc.sig (nrands = 300, lag1, dt, ntimesteps, pad = TRUE, dj = 1/12, s0, J1,
max.scale=NULL, mother = c("morlet", "paul", "dog"), sig.level = 0.95,
q... |
0bb07121bd8d7c818a607909104fb84a3ec96a48 | 0f81dbed2957a99be8c0907ef956534343a2c5f7 | /Step17_HiC_integration_TAD.r | 19e94c5f219563dcc41699c7db3db473ec294e8a | [] | no_license | NoonanLab/Geller_et_al_Enhancer_Screen | ffd10a9581dae946c03810e1b3625552ff3df90d | 2e00efe9243cad10662fc787cab1af74ccdbaf28 | refs/heads/master | 2020-09-01T21:49:07.754006 | 2019-12-02T17:47:53 | 2019-12-02T17:47:53 | 219,067,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,576 | r | Step17_HiC_integration_TAD.r | library(GenomicInteractions)
library(rtracklayer)
library(GenomicFeatures)
library(ggbio)
#import topolically-associating domains (TAD) derived from 50-kilobase contact frequency matrix and idenified from chromatin interactions generated in human neural precursor cells (NPC)
hNSC_50kb_tad <- import("/Users/evangeller/... |
433baea802b6d201ef0481e3907d01b77ce03d04 | f253279e925166c89fca4de7aaddf1fb1a23758e | /Docker_intro/toy-env/src/source-me.R | d8d26255a8b8bb35b388b09d8122f67a233ad479 | [] | no_license | azh3/PublicWiki | 9cf4d258512ff6f721b32de349ae26e57d380965 | 6e17b589d1e49cd2283be300bed56e018fd1648c | refs/heads/master | 2022-12-22T01:58:41.551414 | 2020-09-26T09:45:27 | 2020-09-26T09:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 604 | r | source-me.R | # Load
f = "prim_forests_loss_area.csv"
d = read.csv(f, stringsAsFactor=F)
d$annual.rate = ((d$arealoss/d$areaforest)/18)*100
d = d[order(d$annual.rate),]
# Plot
png('defor.png',units="in", width=5, height=6, res=150)
barplot(height = d$annual.rate,
names.arg = d$fips,
beside = true, las = 2,
main = "Tropical p... |
a5282c5a2fff6120c94e88b8675909a92e2f8cf8 | abbc2dbebacaeb8a0b2ad9f1a57df6507eeccb6c | /man/plot.pickapoint.Rd | 2c47da65be2bcfc7b175eb231771635688b2bffe | [] | no_license | cran/probemod | d0e55d49b60a05773793edd6acf1d1dac705c39a | 6a4a8822cebbd7607c2ecdf0f07f79f3fb5cd579 | refs/heads/master | 2020-09-24T14:05:48.233543 | 2015-04-22T00:00:00 | 2015-04-22T00:00:00 | 31,644,598 | 2 | 2 | null | 2015-04-23T18:15:08 | 2015-03-04T07:44:55 | R | UTF-8 | R | false | false | 1,283 | rd | plot.pickapoint.Rd | % Generated by roxygen2 (4.1.0.9001): do not edit by hand
% Please edit documentation in R/plot.pickapoint.R
\name{plot.pickapoint}
\alias{plot.pickapoint}
\title{Plot Function For Pick-a-Point}
\usage{
\method{plot}{pickapoint}(x, xlab = "", ylab = "", xlim = 0, ylim = 0,
axlwd = 10, cesize = 1.2, cilwd = 5, \dots)
... |
1486baaaa08d44a14b86f201d7156aad64ddd300 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/prioritizrdata/tests/test_salt_data.R | 60ea9d67668a4675cb5ef6c986b78d2b7ecbaeb6 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 169 | r | test_salt_data.R | context("salt data")
test_that("salt_pu", {
expect_is(salt_pu, "RasterLayer")
})
test_that("salt_features", {
expect_is(salt_features, "RasterStack")
})
|
a7f62987472452e08863e81866a3dc00f7b2840b | 31ea8595b1b023988c18875d71ce2a5202c5f3ea | /getdata/PA/run_analysis.R | 0d02be0db3aae90a63343ed0b276ff3ddd338f98 | [] | no_license | datawrecker/datasciencecoursera | 3fef8322c062442e2a8222e36bdf187462c295b3 | ce1d0940fec6c0f4123d48b51a30598c24bbf074 | refs/heads/master | 2020-04-05T15:20:08.066152 | 2015-03-21T15:10:58 | 2015-03-21T15:10:58 | 31,636,947 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,433 | r | run_analysis.R | # assume the file "getdata_projectfiles_UCI HAR Dataset.zip"
# already unzipped in the current directory
# get the indices and names for all features
features <- read.table("UCI HAR Dataset/features.txt", col.names=c("Seq", "Name"), stringsAsFactors=F)
# get the indices of mean for each measurement
meanIdx <- grep("me... |
a0d1d3542f5c6398c7595d3baf2fc5da35d2b0c1 | c4650d8acabab510903632cedd757cf065b69c08 | /R/data_timevar.R | 9b2a1887741082c33cccb3381624420d21d6dfd3 | [] | no_license | cran/jlctree | 8fadac87addb6c76b3bec810b39afa2b9410f4bd | 989833ffb197efadf1cd6244f08fadb9a113e1f0 | refs/heads/master | 2021-06-11T18:01:31.911604 | 2021-04-15T10:10:02 | 2021-04-15T10:10:02 | 163,344,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,291 | r | data_timevar.R | #' A simulated dataset with time-varying longitudinal outcome and covariates.
#'
#' A simulated dataset with time-varying longitudinal outcome,
#' time-to-event, and time-varying covariates.
#' The dataset is already converted into left-truncated right-censored (LTRC) format,
#' so that the Cox model with time-varyi... |
955bf5f22942a5cb991650af2623e147077435c9 | 62cfdb440c9f81b63514c9e545add414dc4d5f63 | /R/qat_data_varcontent_ncdf.R | a7c67c5517cc5e4f03df973959d9087ab26c1c23 | [] | no_license | cran/qat | 7155052a40947f6e45ba216e8fd64a9da2926be4 | 92975a7e642997eac7b514210423eba2e099680c | refs/heads/master | 2020-04-15T16:53:45.041112 | 2016-07-24T01:26:59 | 2016-07-24T01:26:59 | 17,698,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 341 | r | qat_data_varcontent_ncdf.R | qat_data_varcontent_ncdf <-
function(obj,numofvar) {
## functionality: give back content of a variable
## author: André Düsterhus
## date: 30.10.2012
## version: A0.2
## input: ncdf object, number of variable
## output: content of variable
# library("ncdf4")
var<-obj$var[[numofvar]]
varcontent<-ncvar_get(obj,var)
re... |
72d0e9919a9518f1ba215c6dd715ffe76c39fc16 | 76b12a776e78e262dd471ab19de1190ab62fa283 | /man/rmult.bcl.Rd | 7cb5090757e07590b578b2846657cdec8aadd02e | [] | no_license | AnestisTouloumis/SimCorMultRes | 2535dc58bfb198c2643ac37bb34cef85f9f7b4d3 | 79026562789e403431246635296460f2bd630199 | refs/heads/master | 2023-07-23T12:58:52.856192 | 2023-07-10T13:03:15 | 2023-07-10T13:03:15 | 94,232,274 | 7 | 4 | null | null | null | null | UTF-8 | R | false | true | 6,175 | rd | rmult.bcl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rmult.bcl.R
\name{rmult.bcl}
\alias{rmult.bcl}
\title{Simulating Correlated Nominal Responses Conditional on a Marginal
Baseline-Category Logit Model Specification}
\usage{
rmult.bcl(clsize = clsize, ncategories = ncategories, betas = betas,
... |
611143cc517a9caee5ba2c1ba1b849ea305d0570 | 8ab5c170e4e7158a5bd473730f23ee23b5eacab3 | /programs/shiny/m_preview.R | d973ab69f20283d7a8f235e83b3624c826421b64 | [] | no_license | stbnjenkins/rinpharma_workshop_2021 | 0efca283b0c6be8c1f1ef2ff62134f4295b4e213 | 35b6dd3b7fb19b25e41bbf2200c7c0f87523dc80 | refs/heads/main | 2023-09-04T23:16:04.225919 | 2021-10-25T14:48:26 | 2021-10-25T14:48:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 197 | r | m_preview.R | m_preview_ui <- function(id) {
ns <- NS(id)
"Data Preview"
}
m_preview_srv <- function(id, list_reactive_datasets) {
moduleServer(
id,
function(input, output, session) {
}
)
}
|
197e7191ec4569fd4199a0d3b829698f76ba0ac5 | 35fa3b8b482e51784120e2451bdab584faae07a9 | /ex_3.R | a33383391d2d77cd53fc7a4218212a2f9682f41c | [] | no_license | Adnei/ds_repo | c0d6cac85566bf78e79bc5d320bd7158e63598e2 | 25a0f13e8651e5d2fe2fe8b7db6e00d09b3dfc0f | refs/heads/main | 2023-08-24T19:46:11.548465 | 2021-10-20T10:06:47 | 2021-10-20T10:06:47 | 412,187,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,202 | r | ex_3.R | require('ggplot2')
require('dplyr')
require('caret')
require('lubridate')
N_EXPERIMENTS <- 30
dataset <- read.table("soja_milho_modificado.csv", sep="|", dec=",", head=T, stringsAsFactors=F)
conf_mtx_stats <- data.frame(
tfp = c(rep(NA,N_EXPERIMENTS)),
tvp = c(rep(NA, N_EXPERIMENTS))
)
for (exp_idx in c(1:N_EXPE... |
97780294fe4bbdce22542ff1d7e3ebd3b498d598 | 8833844a3423e7defb638c8231183fe025a35e21 | /Plot3.R | 9ef12854fc66cdfda4e23f1f4bfa71976a615523 | [] | no_license | vanni1/ExData_Plotting1 | 31b7dba0a625829de0accb510473043ec4130c3b | ed5b59f4db2e6d3136c3ea1c277bef0ea403d537 | refs/heads/master | 2021-05-14T04:34:10.619058 | 2018-01-11T10:43:52 | 2018-01-11T10:43:52 | 116,647,568 | 0 | 0 | null | 2018-01-08T08:03:23 | 2018-01-08T08:03:23 | null | UTF-8 | R | false | false | 1,138 | r | Plot3.R |
## download, unzip and read household_power_consumption file
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url=url,destfile = "household_power_consumption.zip")
unzip("household_power_consumption.zip")
file = "household_power_consumption.txt"
HPC<-... |
c05d45676ca67edef5633b0366b38a35147fe1ea | e02fae6e544a11fc147d2b7110d05ac55c87ba1f | /cachematrix.R | ea8d9dfbb1d86ed5f141397d65eef11ed2e896f2 | [] | no_license | gatsalvatge/ProgrammingAssignment2 | 0990c7cebc98523068ce32720b1dd681f2f9201f | bd186b0eebee05bf1b57508bcc6adddcf854b48e | refs/heads/master | 2020-12-11T07:56:27.873085 | 2015-06-17T18:22:32 | 2015-06-17T18:22:32 | 37,519,374 | 0 | 0 | null | 2015-06-16T08:59:24 | 2015-06-16T08:59:24 | null | UTF-8 | R | false | false | 1,390 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## This function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
##First we make sure the value of m is NULL before storing a new matrix on the cache
m <- NULL
##Store ... |
f57739f7f832e5d519fc0bca04aa51dbd51299fd | 86347e19447a2ee4a2b65cb3e1d68e5ac26d82c1 | /man/VariableEnv.Rd | 4e035c0d9b48bc2873cb275b0f45143ecdbf6324 | [
"MIT"
] | permissive | brshipley/megaSDM | a9e8cd4de0affaba17fdcda5c3489bc2ab7312dd | 5d285705e295d168ba26435bc453b5242b0ac2dd | refs/heads/master | 2023-06-22T14:46:43.898117 | 2023-06-09T13:36:19 | 2023-06-09T13:36:19 | 206,993,880 | 18 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,625 | rd | VariableEnv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/VariableEnv.R
\name{VariableEnv}
\alias{VariableEnv}
\title{Use species-specific sets of environmental data for SDMs}
\usage{
VariableEnv(occlist, bglist, env_vars, occ_output, bg_output)
}
\arguments{
\item{occlist}{a list of .csv files, eac... |
33ddea1605060ff90cc69122815f6b16cf25a109 | b9e54258e540f0a0447045729bb4eecb0e490426 | /Bölüm 05 - Vektörlerde İstatistiksel İşlemler/5.2 - Serbestlik Derecesi.R | 817ba369278b0bd6a833f4e63e261c52e86c4e82 | [] | no_license | sudedanisman/RUdemy | b36b67b9e875206a5424f33cc784fd13506f8d8d | 28a9814706873f5d2e5985e4ba795354144d52c4 | refs/heads/master | 2023-01-30T01:54:26.321218 | 2020-12-14T11:36:00 | 2020-12-14T11:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43 | r | 5.2 - Serbestlik Derecesi.R |
x <- c(1,2,3,4,5)
sd <- length(x) -1
sd
|
1d948a5f46fb59509534ca7d44acba591b7bee97 | 0ba08455f27022f23296c06f57a6da24fdd1168d | /Homeworks/homework1.R | c1b168eb8aa8559ad51446759b0fa33c5eea8f38 | [] | no_license | lbraun/applied_mathematics | ba44c1f1f15387c9c5b80be99639d4cac2b0f8d8 | a077b676e34c90d2f3e5858efc15d1d5e57aef79 | refs/heads/master | 2021-05-11T18:13:24.544412 | 2018-02-05T08:39:27 | 2018-02-05T08:39:27 | 117,818,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,867 | r | homework1.R | #
usair.dat<-source(paste(getwd(), "/Data/chap3usair.dat", sep = ""))$value
panel.hist <- function(x, ...)
{
usr <- par("usr"); on.exit(par(usr))
par(usr = c(usr[1:2], 0, 1.5) )
h <- hist(x, plot = FALSE)
breaks <- h$breaks; nB <- length(breaks)
y <- h$counts; y <- y/max(y)
rect(breaks[-nB], 0, brea... |
be0b5a32d749b3bc1e688103cb10e2a68abe705a | 51207c22706f87c8656b86ea5184b7cb956f5ae0 | /man/marg_dist.Rd | b3f35c72b4c5f53d063e37cc7f01f691b2244c5f | [] | no_license | 1Edtrujillo1/udeploy | c23e5bffa4c829cd0c6ba045525f310fe343f9fc | ffcd0e7f941fde780b606b739b3c4f896cc78cb2 | refs/heads/main | 2023-06-10T01:06:58.236145 | 2021-07-07T23:17:08 | 2021-07-07T23:17:08 | 329,095,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 957 | rd | marg_dist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats.R
\name{marg_dist}
\alias{marg_dist}
\title{marg_dist}
\usage{
marg_dist(df, num_int_var)
}
\arguments{
\item{df}{dataset to obtain the descriptive statistical analysis}
\item{num_int_var}{\emph{ONE} NUMERICAL VARIABLE from the dataset... |
32f5b70045ea626b2684ddca1b9ef72414d4cecc | 8a95bbec438d0abd7398bf2634b401fa76203a44 | /data/makeData.R | e93c1aaf11d2febfdc1c4713c6c71ab7b702f8ef | [] | no_license | UrbanInstitute/dc-equity-indicators | faaff3b4f00105b879992e7ba063f853bb673a03 | 21836256004e1156cb5112f104f9e6d55a161691 | refs/heads/master | 2020-03-28T21:39:38.547575 | 2019-08-20T14:54:53 | 2019-08-20T14:54:53 | 149,172,893 | 5 | 0 | null | 2019-07-24T16:11:03 | 2018-09-17T18:52:43 | JavaScript | UTF-8 | R | false | false | 5,274 | r | makeData.R | library(tidyverse)
library(readxl)
name_mapping <- read_excel("Indicator_name_mapping.xlsx", sheet = "mapping")
labels <- read_excel("source/DC equity text spreadsheet.xlsx")
data_sheets <- excel_sheets("source/Updated data for equity feature_May2019.xlsx")
city_dat <- read_excel("source/Updated data for equity feat... |
df3c64c6e3074d227f78c5fc02a3dec9a2410c04 | 2a84df5caeda321781df754d3d9172d1e4c3180e | /Bin/kidney_DF_compare.R | 09097ae8b804168d9b6078e97387d46bdeecf4db | [] | no_license | bzrry/bisulfite_cfDNA | 2bc7b4be757be5f230cccbceb9a67f22651dd30f | 55c56c33ff998120e5017012d10cf6f7595f037c | refs/heads/master | 2022-01-11T10:26:40.525303 | 2019-04-15T16:19:45 | 2019-04-15T16:19:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,882 | r | kidney_DF_compare.R | #!/usr/bin/env RScript
# Title: Kidney vs Donor fraction
# Authors: Alexandre Pellan Cheng
# Brief description: Creates figure XYZ
# Initialize -------------------------------------------------------------------------------------------------
rm(list=ls())
# Load libraries ----------------------------------------------... |
2f815b0c33c1dc7c34f0970bed09894c6dbdda00 | f4bb70c1ec36124534419514056c44684aee065f | /cachematrix.R | efd0faa1c77a0096a52e6775f6672594c2413a95 | [] | no_license | NiladriMohanty/ProgrammingAssignment2 | 3d31f4cea4c08fe2c1cdd21fa36c146e67c1d43f | c0ec36842146672a08c568e81aec6ceddc20595f | refs/heads/master | 2021-01-18T05:49:49.973657 | 2014-07-27T22:47:54 | 2014-07-27T22:47:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,777 | r | cachematrix.R | ## It computes the inverse of a square matrix
## But it uses caching method
## That means if elements of a matrix are not changing,
## then it is not wise enough to compute inverse repeatedly (e.g. in a loop)
## Because it is waste of resources and time
## By taking the advantage of lexical scooping of R programming la... |
90db2cd349d435d918e120fc5a4905dca3a43594 | f538a1c8d59dc761693faddb27db3e1dbe845e1f | /Checkdis.R | f868d332f61a6f4369aa750f208218f1a9711909 | [] | no_license | boazgiron/TCL | c1327685b69ee1670f66d38fac61e6616cb170ff | 317d8e5d0cf1af25b824d1a338a0faec0343872d | refs/heads/master | 2020-06-25T10:09:07.497386 | 2017-08-23T14:49:43 | 2017-08-23T14:49:43 | 96,972,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,532 | r | Checkdis.R | library("e1071")
createdfz <-function(h){
zr =NULL
for(i in 1:length(h$x)){
for(j in 1:length(h$y)){
zr = rbind(zr , c(i,j,h$x[i],h$y[j],h$z[i,j]))
}
}
zr
}
fsum <- function(x){sum(x,na.rm = T)}
is.notinfinite.any <- function(x){!any( is.infinite(x) ) }
grouping <-function(clnames,plotpath... |
132e7cc39cbeca96e6c60239fcf7e7fef8f71727 | b0c09959df30b73d953fa98b8bb6c10810fa080d | /man/on_any_overlap.Rd | 98fc13ff63630afe11ca3166038ed749ad0dda17 | [] | no_license | k-hench/fftidy | f325ed1aaefb9d0af395ef21acef387849f6a1f1 | a8c2cd364f1597de8612188bbe73cccd7d539d37 | refs/heads/master | 2023-03-15T11:02:11.998683 | 2021-03-05T16:37:54 | 2021-03-05T16:37:54 | 300,317,485 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 284 | rd | on_any_overlap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/encounter_assignment.R
\name{on_any_overlap}
\alias{on_any_overlap}
\title{Determine if timepoint x is on any overlap}
\usage{
on_any_overlap(x)
}
\description{
Determine if timepoint x is on any overlap
}
|
94acb162c0ad54cc182743c108f59bdf2b39360c | 926f533d414383458700d2305f5a76518357d490 | /ExploratoryDataAnalysis/plot1.r | da4e74f08a117286a486092ca9bb79021ce53262 | [] | no_license | tjaensch/datasciencecoursera | aae3a57b9704cd730274bd878f4a10817172f090 | a4bc40627f68e26d099db29773bf19989bd33308 | refs/heads/master | 2021-01-25T06:18:08.304031 | 2017-06-28T18:18:12 | 2017-06-28T18:18:12 | 93,550,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | plot1.r | NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
graph <- aggregate(NEI[c("Emissions")], list(year = NEI$year), sum)
png('plot1.png', width=480, height=480)
plot(graph$year, graph$Emissions, type = "l",
main = "Total PM2.5 Emission in the US 1999-2008",
xlab = "Year",... |
456ac03967e4c130a73f50fa72bf9a398c832224 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mrgsolve/examples/simargs.Rd.R | 808b4ae8a73836be66e19636735bc8e5bd7f12db | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 225 | r | simargs.Rd.R | library(mrgsolve)
### Name: simargs
### Title: Access or clear arguments for calls to mrgsim
### Aliases: simargs
### ** Examples
mod <- mrgsolve:::house()
mod %>% Req(CP,RESP) %>% carry_out(evid,WT,FLAG) %>% simargs
|
f0e395a024107bc0086ecbb761436e905bd9e468 | a2f73bc570cd7fbda4598513da6749ed0acfaee3 | /man/pangenome_matrix.Rd | d14b91ca95ccaefbdb0e734f3304285ff8423001 | [] | no_license | SWittouck/tidygenomes | 2249cdb44f1187adff92cd1072721c1d2b4ca032 | d4c0b0a7888ae012034eadbc3852fa334ab18e0a | refs/heads/master | 2023-02-08T11:46:26.419095 | 2023-01-27T15:59:51 | 2023-01-27T15:59:51 | 126,355,208 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 546 | rd | pangenome_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getters.R
\name{pangenome_matrix}
\alias{pangenome_matrix}
\title{Return a pangenome matrix}
\usage{
pangenome_matrix(tg)
}
\arguments{
\item{tg}{A tidygenomes object}
}
\value{
A matrix with the pangenome
}
\description{
This function return... |
5e290ea4579dd1cd0694e152c1ad54f03fedbfdb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/embryogrowth/examples/resultNest_newp.Rd.R | 94568c654963bf9bf52a444d818e83012a6f6608 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 604 | r | resultNest_newp.Rd.R | library(embryogrowth)
### Name: resultNest_newp
### Title: Fit using the nest database with anchored parameters
### Aliases: resultNest_newp
### Keywords: datasets
### ** Examples
## Not run:
##D library(embryogrowth)
##D data(nest)
##D formated <- FormatNests(nest)
##D newp <- GenerateAnchor(nests=formated, numbe... |
f820ff23b34346ee0f8e309c6f02d973d431259c | 7b0b23a0ac16a7a89c082d0d64cd209846f1ccc7 | /test/run-testthat-lidarlicious.R | c3bdb404a1db2495ea1a3ab765d0f80bfae08d26 | [] | no_license | dyerlab/LiDARlicious | de7bb1ae126cd0ebb6a1b250268c8453acb22c36 | 19974e85a28d69b4d8b631ccaf9063bdc71361da | refs/heads/master | 2021-01-20T20:08:34.127177 | 2016-07-27T18:54:15 | 2016-07-27T18:54:15 | 64,320,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 63 | r | run-testthat-lidarlicious.R | require(testthat)
require(raster)
test_package("lidarlicious")
|
bdf05411ddc4b3b12c84acb536e1c1a222dde794 | e31ffbcde0cec170ab56cdbfdf643c3b76862f40 | /Scripts/functions practice.R | 4b489f1702de76c8981ac08d6f5500ad87666d07 | [] | no_license | tanka-mesh/Practice | d95f1828de861f8dd07c69253eadc141431298b4 | 29aaaa735878bd34cb822e79131752e94a233bc3 | refs/heads/master | 2022-12-10T07:38:57.471858 | 2020-09-14T05:10:44 | 2020-09-14T05:10:44 | 281,646,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 392 | r | functions practice.R | add2 <- function(x,y){
x+y
}
above10 <- function(x){
x[x>10]
}
aboven <- function(x,n=10){
x[x>n]
}
columnmean <- function(y){
means <- vector(mode="numeric",length=ncol(y))
for(i in 1:ncol(y)){
means[i] <- mean(y[,i],na.rm=TRUE)
}
print(means)
}
##SCOPING EXAMPLE
make.power <- function(n)... |
8030046b9cfdaacb5fa03946f10e5ffef2f2ae0c | 25060ed2d7da42b136f564f692799d45c77e8869 | /R/find.lineages.R | 8385dfe820f05664121bd9dab9dd36b1eed2429a | [
"MIT"
] | permissive | mjanuario/paleobuddy | 4cd85935d9646437b28c679a32aef4540061670c | d38ab786b8802d34b7ce3de3b2172d8a1536b7c5 | refs/heads/master | 2022-12-16T15:32:23.641024 | 2020-09-18T22:30:45 | 2020-09-18T22:30:45 | 298,705,462 | 0 | 0 | null | 2020-09-26T00:18:52 | 2020-09-26T00:18:52 | null | UTF-8 | R | false | false | 8,625 | r | find.lineages.R | #' Separate a paleobuddy simulation into monophyletic clades
#'
#' Separates a \code{sim} object into \code{sim} objects each with a mother
#' species and its descendants. Returns by default the list of \code{sim} objects
#' descended from each species with an \code{NA} parent in the original input.
#' Allows for ... |
55940234596992f1b8a6c16ca037b2e24777ec41 | 6d269c8d8331bdc42eb57f68414ddec97380647d | /man/remap.Rd | 6fe3e0a16bbd91a1b0847382577d8b4c633a512f | [] | no_license | cran/mappings | 95547d35647e86b6dfba65a94886088ae9eb542c | 5471ab70d1a382b8ade8f210b26d3bd41cbb9d92 | refs/heads/master | 2023-06-04T18:21:05.915129 | 2021-06-23T05:30:05 | 2021-06-23T05:30:05 | 379,600,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 525 | rd | remap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapping.R
\name{remap}
\alias{remap}
\title{Re-map a variable}
\usage{
remap(x, ...)
}
\arguments{
\item{x}{The values to apply the \code{\link{mapping}} to.}
\item{...}{Passed to \code{\link[=mapping]{mapping()}}.}
}
\value{
The values retu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.