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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb820d6e5b3e01d942cfed9d1589d90e70198b8b | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/base/R/datetime.R | 67990f99beb67194b7758cdc24f8ae7c3e2596c8 | [
"LGPL-2.1-only",
"GPL-2.0-only",
"GPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 46,702 | r | datetime.R | # File src/library/base/R/datetime.R
# Part of the R package, https://www.R-project.org
#
# Copyright (C) 1995-2018 The R Core Team
#
# 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... |
55ef53fa254ec74bf1e8a4143f5d35e882b033fe | 7da7e8a59c56e5d3c7154843025d2a0fa1d10e03 | /stats_only.R | 374cf3216a6a91122ffd58870a400f0d3b73c142 | [] | no_license | anneracht/sick_score_github | 4821c10c2fa23b8792961f42e13cd5868936c4a9 | 7ff8059106ff5b6a5a1bf28cdf4dd7275cfb673e | refs/heads/master | 2020-07-06T12:16:10.400335 | 2019-09-18T14:23:39 | 2019-09-18T14:23:39 | 203,014,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,275 | r | stats_only.R | #1. find cutoff values to split it into intervals. It requires non-parametric LOESS smoothing
# technique to describe the relationship between the variable and the outcome.
#2.
#amazing references
# https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5690964/
#https://cran.r-project.org/web/packages/tableone/vignettes/smd... |
7bca11af38d3148dce9749efeb5b8e445d4340dd | 1158f6d183b4a9093a6fdc8dda8891d084777e41 | /tutorial/basicsOfProgramming.R | 91a1e627be4a4b3065e7ddd46694799a0ac3d223 | [] | no_license | Beerkay/RTutorials_ITU | 401d2c4ad3344bb1184f3170eacacb0d9a01485a | d5b0a8379ac88c8d461ae6c64983c9e726f69929 | refs/heads/master | 2021-01-02T09:14:21.519770 | 2014-07-09T12:27:31 | 2014-07-09T12:27:31 | 21,098,533 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | basicsOfProgramming.R | #####################################
#Basics of Programming
#author : Z.B.Celik
#Date : 06/23/2014
#####################################
#1- functions
say.hello <- function(){
print ("hello world !")
}
say.hello
say.hello()
#functions with arguments
hello.person <- function(first, last){
print(sprintf("Hell... |
f8594dc16fe5188e0a76a624865feb84c357c10b | 30cf86d398ec8823ca0e9f5c8b557f8723592376 | /plot1.r | 0bc9514ed5bbe9fd7e4381d005408fbbbb603654 | [] | no_license | macawile21/ExData_Plotting1 | f49cc58ee14685ee1fe1a3f4f90e663790a85386 | 78ea7242842d6764b5071ccf9da3fd8777533b81 | refs/heads/master | 2021-01-24T01:27:54.978038 | 2018-02-25T17:53:13 | 2018-02-25T17:53:13 | 122,808,224 | 0 | 0 | null | 2018-02-25T05:31:36 | 2018-02-25T05:31:36 | null | UTF-8 | R | false | false | 659 | r | plot1.r | #READ,CLEAN AND ORGANIZE DATA
data = read.table(paste(getwd(),"household_power_consumption.txt",sep="/"),sep =";",na.strings = "?",header = TRUE)
na.omit(data)
data[complete.cases(data),]
data$Date=as.Date(data$Date,"%d/%m/%Y")
data_filtered=data[data$Date=='2007-02-01',]
data_filtered_2=data[data$Date=='2007-02-02',]... |
92a01994b336d1df193b45eb5ef33f267f68c333 | 48516682819308cb1ebc92edce2c1c144744cc2f | /scripts_for_simulations/006_figures_4_5_S9_S10_S11_S12.R | 6a74593cd6a897c0a74d17a7850ad88552b64e33 | [] | no_license | Landrylab/Gene_duplication_2019 | 139c8b2ca0af251cfe4398ab8d11191ef0c7346b | af5cacc44768bcccb952ba9ce27ba7ddb707b008 | refs/heads/master | 2020-05-02T07:44:58.301178 | 2019-03-26T15:48:36 | 2019-03-26T15:48:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,643 | r | 006_figures_4_5_S9_S10_S11_S12.R | #########################################################################################
#### Figures simulations ####
#### This script plots the figures on the results of the simulations, that is: ####
#### - Figure 4 ... |
412a921fc37d3c3ceaa734faa336b9e986734a04 | 210683b5347b6f584b258f26c7d48ab51a518fe3 | /man/FindTableGroup.Rd | 0857622252fdd3cf7303d196aef258aec99bcea8 | [
"MIT"
] | permissive | statisticsnorway/SSBtools | 6b95eab7f46c1096cd7d6ee3f61d3898150d49d0 | aa2728571e0840e1965f3e7ed0f1984c818ca7a1 | refs/heads/master | 2023-06-24T02:48:17.178606 | 2023-06-23T08:05:58 | 2023-06-23T08:05:58 | 137,074,899 | 5 | 0 | Apache-2.0 | 2023-06-23T08:06:00 | 2018-06-12T13:21:36 | R | UTF-8 | R | false | true | 1,267 | rd | FindTableGroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FindTableGroup.R
\encoding{UTF8}
\name{FindTableGroup}
\alias{FindTableGroup}
\title{Finding table(s) of hierarchical variable groups}
\usage{
FindTableGroup(
x = NULL,
findLinked = FALSE,
mainName = TRUE,
fCorr = FactorLevCorr(x),
... |
145fe837a58b1702fe3005c53e3c736554f4b68d | 1ed42775543aab64d1376bb521b2f7360862cd73 | /analyzed/feed/logistic.R | 337e03cfdcbb438fdebdc145c94359cd1722063e | [] | no_license | yja2397/wayne-s-crop | 6aa4bac7f7418c6d3dab7f6fd148c159b68dab44 | ede7d95a4d205e079e2f787ac84146dfaefe31e5 | refs/heads/master | 2020-04-14T06:54:28.419328 | 2019-02-18T19:11:46 | 2019-02-18T19:11:46 | 163,698,625 | 1 | 0 | null | 2018-12-31T21:34:43 | 2018-12-31T21:34:42 | null | UTF-8 | R | false | false | 1,360 | r | logistic.R | ##########################################################################################
######### S u b j e c t : Collect Temperatue and Humidity data and Analyze #############
######### Collection Date : January 14, 2019 #############
######### Data collector : Wayne's Crop ... |
b3b5f000c1ac3de9b789bed5f6cd006338fc6832 | 12ae74bd0ba9d5494d7301b521b45d1bfa5ff84a | /man/keep.Rd | d0b74851cdd662efc018daef72588aed55f8db10 | [] | no_license | cran/do | 62b609a0f0cc0f0c0cc879adb821b1d9d95b6632 | fa0d7c8f9799326ffa6f0763f490c2873597131b | refs/heads/master | 2021-08-15T11:59:00.793187 | 2021-08-03T10:40:02 | 2021-08-03T10:40:02 | 206,034,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 347 | rd | keep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/keep.R
\name{keep}
\alias{keep}
\title{Keep objects}
\usage{
keep(..., envir = .GlobalEnv)
}
\arguments{
\item{...}{one or more objects}
\item{envir}{environment, default is global}
}
\description{
Keep objects
}
\examples{
\donttest{
a <- 1... |
46b8f2d8d0b0fd8bc334ff323c978ecd341c726e | 97087dcf020dac3fa24643092da52f552174c764 | /ui.R | 7ce75851f7334105060c434ad41852566a77ab89 | [
"MIT"
] | permissive | belmontmat/Info-201-BA3 | f17e4560ad70adc9ce69520c8eb7037d430bd58c | 18165a22914eec1c18ed3f956231b2152b21994d | refs/heads/master | 2020-03-15T02:32:36.701180 | 2018-05-30T21:58:03 | 2018-05-30T21:58:03 | 131,920,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,612 | r | ui.R | # ui.R
library(shiny)
library(shinythemes)
library(dplyr)
library(ggplot2)
library(plotly)
library(maps)
shinyUI(navbarPage(
theme = shinytheme("superhero"),
"Temperature and Disasters",
# Create an introduction tab ----------------------------------------------
tabPanel(
"Introduction",
titlePanel(... |
a250898f9d0a486b1ce0ed653d0761bc26ae7932 | 52cb210d2c627b6a6ce68843e4116151a3be1301 | /R/serve_elo_peaks_2017_wta.R | 77b922b176626ade42ff962ae680705e57ad57d8 | [] | no_license | skoval/sports-blog | 462607d3897ceb98ccb719c40cc015300fa8e243 | c8a9fc2ac71e370b801e71bb4ebe3735d255297c | refs/heads/master | 2023-01-11T20:51:29.411992 | 2022-06-25T13:54:51 | 2022-06-25T13:54:51 | 92,786,559 | 3 | 2 | null | 2023-01-04T18:40:43 | 2017-05-30T00:53:07 | JavaScript | UTF-8 | R | false | false | 3,328 | r | serve_elo_peaks_2017_wta.R | library(ggplot2)
library(ggthemes)
library(dplyr)
load(file = "wta_elos_all_2017.RData")
elos <- elos[order(elos$match_date, elos$matchid, elos$Set, elos$Game, elos$Point),]
serve_elos <- elos %>%
group_by(serve) %>%
dplyr::mutate(
Matches = n_distinct(matchid),
PointNumber = 1:n()
)
return_elos <- elos %>%... |
70366499377d04ceb73d4ebf2a0144ddf0458762 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/phyclust/examples/prune.Mu.Rd.R | 3e2d00e6d0a7aacc9c60a5bcdcfd0ceb895f3f1c | [] | 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 | 433 | r | prune.Mu.Rd.R | library(phyclust)
### Name: prune.Mu
### Title: Prune the Center Sequences Mu
### Aliases: prune.Mu
### Keywords: programming
### ** Examples
## Not run:
##D library(phyclust, quiet = TRUE)
##D
##D X <- seq.data.toy$org
##D X[, 5] <- .nucleotide$nid[.nucleotide$code == "-"]
##D ret <- phyclust(X, 2)
##D Mu.GAPs <... |
3b1c187bf3a8a6ca1de07a85f253be41f75b3c2b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/magic/examples/lozenge.Rd.R | fd1b33e575c23f09a750415363b02259702c6fbb | [] | 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 | 216 | r | lozenge.Rd.R | library(magic)
### Name: lozenge
### Title: Conway's lozenge algorithm for magic squares
### Aliases: lozenge
### Keywords: array
### ** Examples
lozenge(4)
all(sapply(1:10,function(n){is.magic(lozenge(n))}))
|
06c78bf56011d94aea8ef03912239e19a0e30bfc | ec9761df6ca7744bcb97af3c3882134abed4b694 | /bi-plot code.R | 0811ec26f0db390a552e11b71e88128246784427 | [] | no_license | harshnirajsheth/Predicting-the-life-cycle-of-lithium-ion-batteries-using-degradation-data | b98b5a8363e4cac8fd19e51cc380e5c98eb59f07 | adcbacdf4098ed24478836f5c932131ebf2a667e | refs/heads/master | 2020-08-04T22:17:54.872675 | 2019-10-25T00:39:35 | 2019-10-25T00:39:35 | 212,296,225 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,472 | r | bi-plot code.R | # import .csv file
data <- read.csv(file.choose())
# using packages
library(dplyr)
library(ggplot2)
# group by Cycle Index and chosing maximum and mean of discharge capacity and temperature respectively
DC <- data %>% group_by(Cycle_Index) %>% summarise(Discharge_Capacity = max(Discharge_Capacity))
T <- data... |
eda0cdd302f2f5e1314a4de08a3966ea9f98f2d7 | 6dcd7c7215b226abf5ed6736b9dc118af31e7466 | /man/simplify_taxo.Rd | fb6f0bc368ae5b5cd849c0b42005378ecf7c961e | [
"MIT"
] | permissive | adrientaudiere/MiscMetabar | b31a841cdac749a0074a0c24c7f8248348c64a22 | 2cb7839d26668836aac129af7115dea0a52385c0 | refs/heads/master | 2023-08-31T06:57:15.546756 | 2023-08-23T09:10:52 | 2023-08-23T09:10:52 | 268,765,075 | 7 | 0 | NOASSERTION | 2023-09-06T10:12:57 | 2020-06-02T10:02:00 | R | UTF-8 | R | false | true | 645 | rd | simplify_taxo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/miscellanous.R
\name{simplify_taxo}
\alias{simplify_taxo}
\title{Simplify taxonomy by removing some unused characters such as "k__"}
\usage{
simplify_taxo(physeq)
}
\arguments{
\item{physeq}{(required): a \code{\link{phyloseq-class}} object o... |
ccc768751ce2dc6cbd0deaea7f9bd87cd535324d | b2a69ed7b75ceb2e08e2b8a1c162b7b1b9754224 | /25 02 tests sur deux echantillons.R | dbda0ebe64d5b7e7700c527ea792d1ca23938a93 | [] | no_license | pierrebedu/STATISTICS | da042d9e652e2db94fb5985397f888b8e1af91de | 47bc20547ff3faf4fec6b113153fd601abcb0db6 | refs/heads/main | 2023-04-03T23:22:54.497549 | 2021-04-11T15:33:20 | 2021-04-11T15:33:20 | 356,820,706 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 5,754 | r | 25 02 tests sur deux echantillons.R | # ECHANTILLONS INDEPENDANTS exo 1
riche <- scan("C:\\Users\\pierr\\Documents\\R scripts\\DU INP\\Donnees\\riche.txt")
pauvre <- scan("C:\\Users\\pierr\\Documents\\R scripts\\DU INP\\Donnees\\pauvre.txt")
#on regarde
mean(pauvre)
mean(riche)
sd(pauvre)
sd(riche)
boxplot(list(riche, pauvre), names= c(... |
b7ed43c629a68e3a26d9c3209e74190e2034adab | 892e88ee513844acdf263b092035c8781f47d0af | /R/citrusSize.R | 18502f3ad3fb55d7bfd9cae2762e52e45805a02a | [] | no_license | NailouZhang/idiogramFISH | 90ce42589e85896bf53be35411482b22d3828b05 | 65fb1c1012c798ab21ad0642de50c52fdf7233b9 | refs/heads/master | 2023-08-30T22:12:43.847226 | 2021-09-30T11:00:02 | 2021-09-30T11:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,969 | r | citrusSize.R | #' @name citrusSize
#' @aliases citrusMarkPos markOverCMA
#' @title FUNCTIONS: citrusSize, citrusMarkPos, markOverCMA
#' @description Helper function to create data.frames with
#' chr. size and mark size data for Citrus
#' based on categories in Carvalho et al. (2005)
#' @description Special behaviour while plotting:
#... |
9eaee29dac949caba4adc240dbf317b09059ab41 | 9812b19047865c889e7995bf19389e7d3038f450 | /tests/testthat/test_summaryStatsUtils.R | a8133c1326d71a0ba75d1ee827b4358cb958898e | [] | no_license | bigpas/summaryStatsR | d1a9e9c57619ab4d3a5fc7ffd0e3f6148439d34f | afe155f48c8c7fcbf6c0581158e40775de508ac9 | refs/heads/master | 2020-05-07T09:45:55.757166 | 2019-11-30T16:27:19 | 2019-11-30T16:27:19 | 180,391,078 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,954 | r | test_summaryStatsUtils.R | context("Summary Stats Funcitons for Data Frame(s) in R")
suppressPackageStartupMessages(library(testthat))
suppressPackageStartupMessages(library(rlang))
suppressPackageStartupMessages(library(tidyverse))
suppressPackageStartupMessages(library(glue))
suppressPackageStartupMessages(library(data.table))
suppressPackage... |
e2cf92270f43494c1a821b6267327ec0917d1678 | fa128f50bca1c43419341227bd986ff03545f41d | /man/sdcor2cov.Rd | 8a64201c5cc69cf0d047da6f86c51c8cde6ce413 | [] | no_license | cran/SIN | 33f4786b5f270dfe75ccd7ee21080ff177f7eb9c | 48fa54363cfe853b66c4c7db72ad069e79f91eed | refs/heads/master | 2021-01-18T13:59:31.843367 | 2013-12-23T00:00:00 | 2013-12-23T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 511 | rd | sdcor2cov.Rd | \name{sdcor2cov}
\alias{sdcor2cov}
\title{Covariance matrix}
\description{
This function takes a vector of standard deviations and a correlation
matrix as input and computes the covariance matrix.
}
\usage{sdcor2cov(stddev, corr)}
\arguments{
\item{stddev}{a vector of standard deviations.}
\item{corr}{a correla... |
786c69ed3ee1ba199cb0df38f0abbf447bc88718 | d9334d392b84ac9a66453e0fd5b7b85c82156cc8 | /sa health combos.R | 29c550de9f2ee7242880a4a0f8f1e1dfb4011c0d | [] | no_license | dranthonymaher/handycode | 0a8961f7f61cdc732f1d40d963adfb8ac64c6125 | 4134c967a2e0e7b008646bd26171db75db82414d | refs/heads/master | 2023-04-12T06:58:58.981578 | 2023-03-18T00:27:19 | 2023-03-18T00:27:19 | 251,159,704 | 0 | 0 | null | 2020-11-26T05:02:18 | 2020-03-29T23:58:34 | R | UTF-8 | R | false | false | 857 | r | sa health combos.R |
expand.grid(0:1, 0:1, 0:1)
settings<-c("ED","ICU","theatre","surg wards","med wards","community")
LHNs<-c("Barossa Hills Fleurieu LHN",
"Central Adelaide LHN",
"Eyre and Far North LHN",
"Flinders and Upper North LHN",
"Limestone Coast LHN",
"Northern Adelaide LHN",
... |
ad893d72c0948e546692bfe5e3570fdf6e0bd8a4 | ab2b794ed2d69a24feacd4ff55ea73ff06bfe7f0 | /R/fromJSON.R | a50427af6c2456712054245bd48eb7c896c2ea4d | [] | no_license | ogito/jsonlite | 0b3322fa08d3c4cd6060810ee851dab327fa1024 | e2676c924663a953930c72c7ac84c12864894755 | refs/heads/master | 2020-12-14T18:43:57.557994 | 2014-05-12T02:00:41 | 2014-05-12T02:00:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,837 | r | fromJSON.R | #' These functions are used to convert R objects into JSON and vice versa. The \code{\link{toJSON}} and \code{\link{fromJSON}}
#' functions use a class based encoding schema which follows conventions outlines in the vignette of this
#' package. They implement a consitent and practical mapping between JSON structures a... |
d8b3248b87132253edc2797bfcc9c3e74a2338bd | b2d32cb57604a26e31f0c4947ee866f59a7aa8ba | /man/estM.Rd | 513be8aa727a1110afe89dadced393b105706697 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | atredennick/GenEst | fe1f95ca844b2bf9cf0f3358e810439b0a964410 | 38b73a290c074872c0651926bd6de283072aa8e6 | refs/heads/master | 2020-06-10T20:24:52.460911 | 2019-06-25T16:52:44 | 2019-06-25T16:52:44 | 193,736,013 | 0 | 0 | null | 2019-06-25T15:35:03 | 2019-06-25T15:35:03 | null | UTF-8 | R | false | true | 2,690 | rd | estM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mortality_functions.R
\name{estM}
\alias{estM}
\title{Estimate mortality}
\usage{
estM(data_CO, data_SS, data_DWP, frac = 1, COdate = "DateFound",
model_SE, model_CP, unitCol = NULL, SSdate = NULL, sizeCol = NULL,
DWPCol = NULL, s... |
4e897d30fa5fdf3f13e4ea3453f45375658a4a1a | 860acc513a2fb1a31e8a770517b63faf73b19af9 | /man/check_input.Rd | f2ddfb95300d82ac5c7e3c986c169cb74b69ff4e | [] | no_license | PeterDeWeirdt/intactr | 0ae1b934fbc51783ed956dbde7a8b06b25e36c74 | 4194774d21a6a32777c9b0a03fc8465658a4ac41 | refs/heads/master | 2022-09-23T13:32:40.157417 | 2020-06-02T02:06:48 | 2020-06-02T02:06:48 | 234,556,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 301 | rd | check_input.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process.R
\name{check_input}
\alias{check_input}
\title{Checks input for correct column names}
\usage{
check_input(input_df)
}
\arguments{
\item{input_df}{input data}
}
\description{
Checks input for correct column names
}
|
0874bfda4abdd4d11de17bad36a1f3676ed2df87 | 06aec25dadf0e5c54939fe87f845ee9007e144e0 | /JSM 2011/Talk/tools/example/lake distance.R | 1afe8cbc6a7a1cf3a71ee31312cb8e345118a4e8 | [] | no_license | rundel/Presentations | 67beac96f767669d1c5cded0f122df007c37da12 | bce5c7ba02eff9159c5252068aafe936e5bfd0aa | refs/heads/master | 2023-08-17T00:01:37.099095 | 2023-08-07T18:03:03 | 2023-08-07T18:03:03 | 4,659,430 | 20 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,213 | r | lake distance.R | library(rgeos)
set.seed(1)
txt = rep("",5)
for(i in 1:5) {
xc = floor(runif(1,1,25))
yc = floor(runif(1,1,25))
xpts = round(rnorm(10,0,0.5),3)
ypts = round(rnorm(10,0,0.5),3)
txt[i] = paste("MULTIPOINT(",paste( "(",xpts+xc," ",ypts+yc,")",sep="",collapse="," ),")",sep="")
}
wkt = paste( "GEOMETRYCOLLECTION("... |
428739882d2d6fdabe7c0ed675d0ae96651e8185 | da03930f45319ebc3af391f92352657030a46c25 | /man/seqtab.Rd | cd6c0b3376a7c8018756b4fcfce0d3554774b298 | [] | no_license | cran/TraMineR | 7c5a47bf44b60d0aa8e798b893b766359a106122 | f69de43d018da19df8247a9090ebd1c01803d246 | refs/heads/master | 2023-04-11T10:25:42.257555 | 2023-03-31T17:20:02 | 2023-03-31T17:20:02 | 17,693,958 | 12 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,860 | rd | seqtab.Rd | \name{seqtab}
\alias{seqtab}
\alias{print.stslist.freq}
\title{Frequency table of the sequences}
\description{
Computes the frequency table of the sequences (count and percent of each sequence).
}
\usage{
seqtab(seqdata, idxs = 1:10, weighted = TRUE, format = "SPS", tlim)
}
\arguments{
\item{seqdata}{a sequence objec... |
3e6bb594030ebd5f525d48fad595a559e7d19dff | 13e11079ba6fcd554a2f6015cd4e40204d1cb292 | /man/get_datasetID.Rd | 50559010885b1d9f5761f94b5f184d2949e951af | [
"MIT"
] | permissive | hut34/hutr-package | cdae26631d0f4e640b7c22f1eff703692a47b8ad | 3519c7f5acc5fe2bdb12a96f42539542ecd11b32 | refs/heads/master | 2020-12-28T18:33:10.945324 | 2020-04-24T03:25:38 | 2020-04-24T03:25:38 | 238,440,955 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 594 | rd | get_datasetID.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_datasetID.R
\name{get_datasetID}
\alias{get_datasetID}
\title{get_datasetID}
\usage{
get_datasetID(DatasetNumber, Endpoint)
}
\arguments{
\item{DatasetNumber}{An integer.}
\item{Endpoint}{A string}
}
\value{
Returns a string
}
\descripti... |
0541479c302ab002a241442e926ba13490cf62b8 | f461dd36fb85a44bf2ff866fb3898e475c0ac4a9 | /Application/version0.3/R/Data_HR.R | 032d23dfcc3e81102b395de7aab5d2edbe39f90e | [
"MIT"
] | permissive | oujbih/PFE | 0059938284e03c0d41816d85739fffac3bbd244e | 2f71d1febc03cc55286ea0243d9dd824bc931d7a | refs/heads/master | 2023-03-11T11:12:42.646087 | 2021-02-19T14:57:20 | 2021-02-19T14:57:20 | 246,944,720 | 1 | 0 | null | 2020-06-05T22:59:47 | 2020-03-12T22:52:59 | R | UTF-8 | R | false | false | 337 | r | Data_HR.R | #########################################
# OUJBIH ABDERRAHIM ########
# 31/03/2020 ########
# OCP SA Beni Amir Khouribga PFE ########
#########################################
load("Data/Model_SDP_Mean.Rda")
load("Data/Fevrier_DATA3.Rda")
load("Data/Mean_PM_HG.Rda")
Model_data <- M... |
bd0a59512c1b0083c4b52dfb24f180127f5e4fde | d226838e64a1d55fdaf797893f7468651b725183 | /man/bwaSamse.Rd | 7b4accab202096795bacadf82a6547429e236453 | [] | no_license | HenrikBengtsson/aroma.seq | 5fd673cc449d9c3b89daf1125e8cc95556d0641d | 6464f1e5e929c423978cf7dcb11ac7018d179a6d | refs/heads/master | 2021-06-21T13:53:21.618898 | 2021-02-10T02:57:15 | 2021-02-10T02:57:15 | 20,848,327 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,499 | rd | bwaSamse.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% bwaSamse.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{bwaSamse}
\alias{bwaSamse... |
84e41599115064920e8aaa81be4ca24ecc856a8f | 273b9ae1349390114c56c6220d0b6e975173a1f5 | /old_code/rawGfs2castdf.R | 924eb1f82d02517710398608c2738b3fd82b46f4 | [] | no_license | athena-small/nyiso_forecast_evaluation | 387335ffc95e92e0c90a656713c959f84316c05d | 1960e37829faf618979a363419bbf6bc932d4a9d | refs/heads/master | 2023-02-02T09:59:48.564543 | 2013-08-09T15:24:30 | 2013-08-09T15:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,288 | r | rawGfs2castdf.R | # Function rawGfs2castdf:
# A function that converts a raw GFS file containing temperature forecasts into
# a cast data frame organized by "valid for" datetime and forecast lead time.
rawGfs2castdf <- function(rawGfsFile){
# Perform transformations on GFS data:
# - Convert text dates + times into date-tim... |
55c8d3695e850dfec5a530bc32228773123d4c31 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ltbayes/examples/fmodelnrm.Rd.R | 7722802ea6ab4ba1bdc6692f9580b15b0dca10d0 | [] | 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 | 1,207 | r | fmodelnrm.Rd.R | library(ltbayes)
### Name: fmodelnrm
### Title: Latent Trait Posterior of the Nominal Response Model
### Aliases: fmodelnrm
### ** Examples
samp <- 5000 # samples from posterior distribution
burn <- 1000 # burn-in samples to discard
alph <- matrix(c(-1, 0, 1), 5, 3, byrow = TRUE)
beta <- matrix(0, 5, 3)
post <- p... |
8a17e08f0578772d1f86937444e71476bab74bcb | 54b4976030ae6a42e10282c8f41609ef266721c9 | /R/ecd-plot-2x2-generic.R | afc687c0bf197924b619a886ac71b7a03ec45ba8 | [] | no_license | cran/ecd | b1be437b407e20c34d65bcf7dbee467a9556b4c1 | 18f3650d6dff442ee46ed7fed108f35c4a4199b9 | refs/heads/master | 2022-05-18T20:24:56.375378 | 2022-05-09T20:10:02 | 2022-05-09T20:10:02 | 48,670,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,791 | r | ecd-plot-2x2-generic.R | #' Standard 2x2 plot for sample data
#'
#' Standard 2x2 plot for sample data
#'
#' @param object An object of ecd class.
#' @param ts The xts object for the timeseries.
#' @param EPS Logical, indicating whether to save the plot to EPS, default = FALSE
#' @param eps_file File name for eps output
#'
#' @key... |
95b92c5f7b97c3ef265e65d6943ffebd0dbd4195 | 42ac78fed8e8494cc54a533e6cb9b4c18ca51369 | /branches/lme4-lmer/tests/lmer.R | 859085cdc2bdbf3a58dfe8ec85780d9d68c569b4 | [] | no_license | LTLA/Matrix | 8a79cac905cdb820f95190e99352cd9d8f267558 | 2b80087cfebc9f673e345000aeaf2170fc15b506 | refs/heads/master | 2020-08-07T20:22:12.075155 | 2019-09-28T21:21:10 | 2019-09-28T21:21:10 | 213,576,484 | 0 | 1 | null | 2019-10-13T00:56:38 | 2019-10-08T07:30:49 | C | UTF-8 | R | false | false | 7,224 | r | lmer.R | library(lme4)
options(show.signif.stars = FALSE)
data(sleepstudy)
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
(fm1a <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy, method = "ML"))
(fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy))
## should produce a warning but fit by R... |
b1e807c61a881e44d7cf95900526baa9657f6361 | 1d2266e12300818fa40e6350a2b79b372de510b5 | /man/volleyxml.Rd | b327c36cc41657abad0b3e47408ab58388dd28c9 | [
"MIT"
] | permissive | openvolley/volleyxml | ba6951930cc2659b2213666211b391b8243bd072 | 5acf20f4dd0f49fcc5a4f598fbce799944fabcb2 | refs/heads/master | 2023-02-19T19:29:47.489954 | 2021-01-15T06:45:45 | 2021-01-15T06:45:45 | 132,218,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 261 | rd | volleyxml.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/volleyxml.R
\docType{package}
\name{volleyxml}
\alias{volleyxml}
\title{\pkg{volleyxml}}
\description{
Provides basic functions for parsing volleyball scouting files in XML format.
}
|
1e3c9e0234151852cf42e0abb3b710745dcbdc02 | 9bfa123022e7055ecd62e58dc3375539f079c3b9 | /R/pixelate.R | 9c1691dca6708d10be706b0bf8c73c2a00b48638 | [] | no_license | FinYang/pixelaRt | da7fdd038bc88c84645d30a30c261935db768890 | ad1116e89ca5430d287bb39c64c011265e62760a | refs/heads/main | 2023-08-26T01:07:46.311409 | 2021-11-01T16:26:16 | 2021-11-01T16:26:16 | 423,536,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | r | pixelate.R | #' @export
pixelate <- function(img,
scale = 8,
pixel_width = NULL,
pixel_height = NULL,
keep_resolution = TRUE,
output_width = NULL,
output_height = NULL) {
img_info <- image_info(img)
img_... |
5ff26dfa4846fcffbf4af9cca7501a858a357993 | 51830cdacf31aa85281af6673eaf364ddf815c30 | /man/do.survival.Rd | d9f48209d2bf3be28c6a689e30f116324562af61 | [] | no_license | niko-balanis/small.cell.project | 1895cdc9a716d50984b1958cded6f44ea9da8c35 | ddcd781aa5db10e6012be59d2a50f3a59fe578e3 | refs/heads/master | 2021-10-22T22:30:41.411050 | 2019-03-13T02:44:46 | 2019-03-13T02:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 891 | rd | do.survival.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/do.survival.R
\name{do.survival}
\alias{do.survival}
\title{does survival analysis}
\usage{
do.survival(threshold = 0, pattern, path, output_folder,
component = "comp.1", pred_file = T, plsda = F)
}
\arguments{
\item{threshold}{threshold to... |
c977eb6614f96e493070e2f2b1c4862f5dfe73cd | fb02e020729ff504edfb0f309a6955e06fba1862 | /man/get_metadata.Rd | 63514bb42f6ba8a406f137e51c6ea0d347024a8d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | govtmirror/GDopp | c31a49218258c0baec573e8f7fc86bf7a7856a60 | 714584d64530f4cd7b74a80b801a4ee9f1f0481b | refs/heads/master | 2020-12-24T18:55:41.895481 | 2014-08-29T16:27:19 | 2014-08-29T16:27:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 605 | rd | get_metadata.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{get_metadata}
\alias{get_metadata}
\title{get measurement details}
\usage{
get_metadata(deploy_nm, folder_nm)
}
\arguments{
\item{deploy_nm}{a valid deployment name (string)}
\item{folder_nm}{the folder where the deployment files reside.}
}
\value{
a list of m... |
08427942b7d9b052ce3853c02b56fd2ac050fcaa | 2b850f9fdfa54159f05553050ad21600e6a58246 | /R/plot.palaeoSig.R | ca220f0c12fe18bf67e7bfa98a4aaa943049ecd3 | [] | no_license | cran/palaeoSig | f1dece921733d50a2915d47bd188ecdc32392ced | 29f25c31bf18651a5d50928ebe61f2b247f22962 | refs/heads/master | 2023-03-15T03:17:27.916002 | 2023-03-10T08:30:02 | 2023-03-10T08:30:02 | 17,698,185 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,949 | r | plot.palaeoSig.R | #' @describeIn randomTF Plot palaeoSig object
#' @param x Output from randomTF
#' @param variable_names Names of environmental variables. If missing, taken
#' from \code{env} data.frame.
#' @param top Proportion of the figure below the environmental name labels.
#' @param adj Adjust the position that the environmental ... |
3381aef8930af9d1bea94e30da22312c88b54e1f | 582e96e874c9e8e907bbb82fe1e7fd654211d619 | /IMBD_db.R | 29042b358f74c4540737345f6be77d036bd619b1 | [] | no_license | prashantbhuyan/Data-Exploration-Visualization | 2649134a63ee24d6fbd409210f044da93ead4602 | 32fcfb5d348a120c5ccedfcc0d9452e0adc24d6c | refs/heads/master | 2016-08-03T14:56:27.209933 | 2015-01-15T19:15:51 | 2015-01-15T19:15:51 | 24,250,897 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,690 | r | IMBD_db.R | # Prashant B. Bhuyan
# Exploration & Visualization IMBD Database
##### Problem 1 #####
# Solution (See attached image 'Movie Titles By Decade.png')
# Certainly according to the visualization the number of movies produced
# grows substantially each decade. Perhaps this is due to better production and
# distributio... |
60774f1333fdedc95bcfa8175ebfafae8929b193 | 2c4bb3cc1eb9f992f0a9f21392eccfc6b2ca2382 | /man/FindAncestor.Rd | 976f55dd8b4efebb377ca8eff0c88f3c4d151cf8 | [] | no_license | Christophe-Hendrickx/Claddis | f98be53fa60408825a39e923b97da9ec1be03446 | c5dfba9f5a043e49d31d860cd8cc99d6ac392916 | refs/heads/master | 2020-12-29T00:26:18.332760 | 2014-11-26T01:02:50 | 2014-11-26T01:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 637 | rd | FindAncestor.Rd | \name{FindAncestor}
\alias{FindAncestor}
\title{
Find ancestor
}
\description{
Finds last common ancestor (node) of a set of two or more descendant tips.
}
\usage{
FindAncestor(descs, tree)
}
\arguments{
\item{descs}{A vector of mode character representing the tip names for which an ancestor is sought.}
\item{tree... |
755d81c17c435585e3721f68735e148406ed6687 | 39fd119fb2e6e8df0e1b08c6c99b3c9965d2280a | /NCS16.R | 7a301c2652f8520113c806627b1f685130594549 | [] | no_license | DuggalM/R-Codes | 8ecba0bc816351574339de2bee0734d3adb379a2 | 84400afb925fc6deba89f406570f9461482b9f52 | refs/heads/master | 2021-01-21T14:48:09.096090 | 2019-02-14T16:31:17 | 2019-02-14T16:31:17 | 56,999,481 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,373 | r | NCS16.R | library(plotly)
library(plyr)
knitr::opts_chunk$set(warning=FALSE, message=FALSE)
knitr::opts_chunk$set(fig.width = 30, fig.height = 30, fig.show = "asis")
#' Title: "NCS16"
#' Author: "Mausam Duggal"
#' Date: "Nov 11th, 2015"
#' set working directory and batch in data
wd <- setwd("c:/personal/r")
#' This reflects t... |
7ee8dd9308a9f2e6bb2a1bd7d6b12bd94859b816 | 91b06471fd5d6ef45b4173b8ed490d17789359e0 | /script.r | 2aec9beb3924acd38ecf0ae739e9c2bf89555373 | [] | no_license | CarlosLCV/Repo-4 | 3e7118f552e2bf5d4b0631524f82b88e20830e3e | be1564f7ea604c03ec352d4acb0c1a6fd2672188 | refs/heads/master | 2020-12-27T06:47:41.584182 | 2020-02-02T16:42:35 | 2020-02-02T16:42:35 | 237,801,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38 | r | script.r | print("Hola mundo")
x <- 0
x <- x + 1
|
caef7f5afb8596973834f74bb1aa91d8dd503094 | 4097f2ea4734703125c04f3fa19babe7af2f7903 | /functions/refreshing/convex_hulls_3D.R | 83eb9b6a360fd439591c0e5df06b3cdf48f6b8c2 | [
"MIT"
] | permissive | PavlopoulosLab/NORMA | 4aac7f61cfd42346f1b5e9fec8152d9bf29dce81 | 3073b5f0516117346513826b510df6380eba605b | refs/heads/master | 2022-05-05T06:52:32.354089 | 2022-04-29T17:02:00 | 2022-04-29T17:02:00 | 245,136,633 | 15 | 8 | null | null | null | null | UTF-8 | R | false | false | 16,494 | r | convex_hulls_3D.R | convex_hull_3D <- function() {
set.seed(123)
g <- fetchFirstSelectedStoredIgraph_annotations_tab()
if (is.null(g))
return()
# dataset <- get.edgelist(g)
dataset <- fetchFirstSelectedStoredDataset_annotations_tab()
if (is.null(dataset))
return()
original_dataset_weighted <- fetchFirstSel... |
483d7c634832409641bf8d7aa4cadceb62c9624a | f5e66f86b5e89c21a54cd8a095de5752018a549e | /man/Diag_Non_Con.Rd | 8e8b2804432c2f1e76b305bf6bc37ef7fa4dda97 | [] | no_license | rjaneUCF/MultiHazard | 5279e4efc869e8745818fe62b37ce1d35534114c | 334b0e1aa6bd5f4dbd68876221fad3c499e691a2 | refs/heads/master | 2023-07-29T15:04:55.523801 | 2023-07-11T20:46:42 | 2023-07-11T20:46:42 | 239,541,679 | 11 | 4 | null | null | null | null | UTF-8 | R | false | true | 1,786 | rd | Diag_Non_Con.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Diag_Non_Con.R
\name{Diag_Non_Con}
\alias{Diag_Non_Con}
\title{Goodness of fit of non-extreme marginal distributions}
\usage{
Diag_Non_Con(Data, x_lab, y_lim_min = 0, y_lim_max = 1)
}
\arguments{
\item{Data}{Numeric vector containing... |
1bb0554cd55791b20e1010c9ef9979af6347ffbf | 7050fc64449bf7fc96384bcb5d7d57cfd638e5fc | /Laboratorios/Lab1/Lab1.R | 76d8051ea06315960c432e4f530f847b84c0db96 | [] | no_license | jcecheverria/Data-Wrangling | 3aaea8e7ca1b45eef30f6dccb2c53b03c752c75d | a313c34d041fb1fdf0d1d0929260ec86556fec61 | refs/heads/master | 2023-01-24T22:11:06.388820 | 2020-11-15T20:46:04 | 2020-11-15T20:46:04 | 283,594,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,193 | r | Lab1.R |
# LIBRERIAS ####
library(readxl)
library(readr)
# PROBLEMA 1 ####
files = list.files(pattern = ".xlsx")
read_excel_files = function(path,cols){
# Leemos el archivo
df = read_excel(path)
# Creamos las columnas de mes y año
fecha = strsplit(path,".xlsx")[[1]]
df["FECHA"] = fecha
sliced_df = df[cols]... |
4a952e7ce52edd377566872a61d8b978911c838b | 92e597e4ffc9b52cfb6b512734fb10c255543d26 | /tests/testthat/test-function-excludeNULL.R | 11d061c28794fcddb1ebf78699d15f342c52d328 | [
"MIT"
] | permissive | KWB-R/kwb.utils | 3b978dba2a86a01d3c11fee1fbcb965dd15a710d | 0930eaeb9303cd9359892c1403226a73060eed5b | refs/heads/master | 2023-05-12T15:26:14.529039 | 2023-04-21T04:28:29 | 2023-04-21T04:28:29 | 60,531,844 | 9 | 1 | MIT | 2023-04-21T04:28:30 | 2016-06-06T13:52:43 | R | UTF-8 | R | false | false | 187 | r | test-function-excludeNULL.R | test_that("excludeNULL() works", {
L <- list(a = 1, b = NULL, c = "three")
expect_error(excludeNULL(0))
expect_identical(sum(sapply(excludeNULL(L, dbg = FALSE), is.null)), 0L)
})
|
6e0b09c8a7669ebafc7222c893bd5bcb5e4b9a4e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rvcheck/examples/check_r.Rd.R | e61d84810a6370955fcfe0ae06cd8e6234071602 | [] | 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 | 162 | r | check_r.Rd.R | library(rvcheck)
### Name: check_r
### Title: check_r
### Aliases: check_r
### ** Examples
## Not run:
##D library(rvcheck)
##D check_r()
## End(Not run)
|
befb01d82631354bbdc503b2928708203acc2adb | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Basler/terminator/stmt21_178_218/stmt21_178_218.R | 018664ddbfc9fd88fc985db703a9185e1e300382 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 65 | r | stmt21_178_218.R | 89d89989a202095c939d3652c4616f26 stmt21_178_218.qdimacs 2696 8703 |
457ad339d4fae36a8a1d4d458cd8e1bfc22778f9 | 5700e3810d1ab93d186a21b0fe47310c320d9f5c | /code-for-plots-heritability.R | 947118e1e0b3a07410dfd9419d69184be8dfe532 | [] | no_license | jiazhao97/sim-BWMR | b8b64189413832004d43c3ad75cbd51cf2a54775 | a32f46b6ea5436bcc82bd16c21dd98b390cfa657 | refs/heads/master | 2020-05-16T23:56:27.907719 | 2019-09-04T14:42:52 | 2019-09-04T14:42:52 | 183,380,837 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,507 | r | code-for-plots-heritability.R | # Figure S25 in supplementary document
rm(list = ls())
library(ggplot2)
library(reshape2)
method_level <- c("BWMR", "Egger", "GSMR", "RAPS")
## Type I error
load("heritability-02.RData")
#load("heritability-03.RData")
#load("heritability-04.RData")
i <- 1
Rp <- length(pvalset.bwmr[i, ])
type.I.error <- c("BWMR" = ... |
3ad78a9cea2b837785236fe68a0801abfea427fb | 1910b492b0fb6ede2dfcb6c6ccdc569c59c1d2da | /Rscript/rename_files/rename_files.R | d23de6253c0f495a0dd3950985310475b8eed998 | [] | no_license | lapig-ufg/jackknife-scripts | 46bc8a8b4bc22ecb3870fc88f89879bc2bb8147a | fddb1f35c745d2736d44602e4110078ec6a01a3e | refs/heads/master | 2021-11-24T02:21:20.281556 | 2021-10-25T15:04:07 | 2021-10-25T15:04:07 | 44,969,682 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 742 | r | rename_files.R | #####################################################################
#####################################################################
#'
# A utlility to rename multiple files
###
###
# Workstation
setwd('Y:\\CENTURYCERRADO/mosaicsWorkstation/block_34')
filesNames <- list.files(pattern = '*.tif')
newName... |
d5344f21b0ae325371b500496ac0e3bc7ce1a04a | 71abd2ebcb868047c700d09ad9b10afdd4dd5c89 | /dev_test.R | 3cadfef76c2859a8614ad42c9d83b5010e3aecf9 | [] | no_license | eriqande/Rrunstruct | 5a3fdb839b9d71615fd61a11fa5d6cdf6d0643c4 | 2881a014ee77ac714e54aa3ac5eb3cb364772d83 | refs/heads/master | 2021-01-18T22:44:35.926474 | 2018-07-27T05:29:27 | 2018-07-27T05:29:27 | 38,450,585 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,189 | r | dev_test.R |
#setwd("~/Desktop/scot-cats/PlainPars")
#structure_runs("Boing", 1:4, 3, 1234)
results <- read_results("struct-runs-from-r-1")
traces <- read_traces("struct-runs-from-r-1")
res2 <- MAP_cluster(results)
mp <- relabel_map_clusters(res2)
# then we can pick out just the max perm indexes for each K and r
max_perms <-... |
94064676ca89eed04815d7b8785299bc8ed8c349 | f26b89cec02c147b1a6a9f4ad26165c00ac1f09e | /man/aqs_sampledata_by_cbsa.Rd | fc8ca8bbede3a749df444e37a6acf80cadbacf48 | [
"CC0-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cjmc00/RAQSAPI | 131f36b59f180b52260311462ce9aaab54c6c841 | 1eb717ce455903a7795abdd52b669c18cb0db99f | refs/heads/main | 2023-04-01T12:35:34.554784 | 2021-04-05T18:59:48 | 2021-04-05T18:59:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,480 | rd | aqs_sampledata_by_cbsa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bycbsa.R
\name{aqs_sampledata_by_cbsa}
\alias{aqs_sampledata_by_cbsa}
\title{aqs_sampledata_by_cbsa}
\usage{
aqs_sampledata_by_cbsa(
parameter,
bdate,
edate,
cbsa_code,
cbdate = NA_Date_,
cedate = NA_Date_,
return_header = FALSE... |
b25381d5a11b19cb76231a129df46ddc0340a568 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Messinger/circuits/k8_2_4/k8_2_4.R | 10faa821e8ebe09f178ef70b12b49f70da0694c0 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 59 | r | k8_2_4.R | 167fc96e947a5976d32e95bc6bd141ed k8_2_4.qdimacs 11353 15984 |
4c9098f12d71333704343e9d0db2ba3bdfddb46f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/affy/examples/rma.Rd.R | 57e80351a7383dde78267629abe7f42ff70aa4be | [] | 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 | 213 | r | rma.Rd.R | library(affy)
### Name: rma
### Title: Robust Multi-Array Average expression measure
### Aliases: rma
### Keywords: manip
### ** Examples
if (require(affydata)) {
data(Dilution)
eset <- rma(Dilution)
}
|
f6245fe08a53005de771d745512561f6b112ca28 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /MESS/R/wallyplot.R | 21f0cdd6bbbc26923050e96a1b261deaf5749864 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,909 | r | wallyplot.R | #' @rdname wallyplot
#' @export
wallyplot.default <- function(x, y=x, FUN=residualplot,
hide=TRUE,
simulateFunction=rnorm,
...) {
simulateFunction <- match.fun(simulateFunction)
if (is.vector(y) && length(x)==length(y))
... |
676ce78fbf898880bd3ba24f5a842386fe77e285 | 3530276edd98fa3ca7e35e41588f0e12de251d54 | /Processing/Correlation/CP_Detrend_LCs.R | dcde68d2009941b2c20180c2cd3832742bf58459 | [] | no_license | pmlefeuvre/NVE_work | 9e21dfa19f6998cb624b47d8faf4e9c819df21d5 | e4ef285843089f7a2fe9f5f3fb69194ce4148303 | refs/heads/Process_LCdata_HydroMetdata_mac | 2021-01-21T15:00:06.798694 | 2016-07-01T10:19:39 | 2016-07-01T10:19:39 | 57,060,323 | 0 | 0 | null | 2016-04-26T08:18:49 | 2016-04-25T17:05:20 | R | UTF-8 | R | false | false | 5,040 | r | CP_Detrend_LCs.R |
##########################################################################
## Extract Trends and Short Term Variablilty ##
## And Plot Month Variations for: ##
## - 4 years Period between 1996 - 2013 ##
## - W... |
fe02d633feb389b6c4e427ad45ac4c70eae74a8a | cb03093b823294a5f23f7992031d0f34550fa712 | /OGIIR_0_Wrapper_Example.R | 97a52325badfa559b535be73ebb23875f4b501c4 | [] | no_license | fdbesanto2/Landsat-compositing | 603ab3a11d39fc5f228bff24eefee3114cfb7d09 | 0937b343123cf87f148489282b22bba0d090c4db | refs/heads/master | 2022-03-13T09:12:01.873703 | 2019-11-15T09:05:33 | 2019-11-15T09:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,595 | r | OGIIR_0_Wrapper_Example.R | ## Author: Jasper Van doninck
##
## Description: This is an example of a simple wrapper for browsing, processing and compositing Landsat imagery.
## Set EarthExplorer username and password
#username
userName <- "my.EE.username"
#password
require(getPass)
pwd <- getPass()
## Set search parameters
... |
1448227414348d3a1e200e032bb40cdda0652aa9 | c7e9a7fe3ee4239aad068c6c41149a4a09888275 | /OLD_GALLERY_RSCRIPT/#283_the_hourly_heatmap.R | eea47253025df391c24ed864a6e0792c1608ffc4 | [
"MIT"
] | permissive | holtzy/R-graph-gallery | b0dfee965ac398fe73b3841876c6b7f95b4cbae4 | 7d266ad78c8c2d7d39f2730f79230775930e4e0b | refs/heads/master | 2023-08-04T15:10:45.396112 | 2023-07-21T08:37:32 | 2023-07-21T08:37:32 | 31,253,823 | 591 | 219 | MIT | 2023-08-30T10:20:37 | 2015-02-24T09:53:50 | HTML | UTF-8 | R | false | false | 3,388 | r | #283_the_hourly_heatmap.R |
# ---------------------------------------------------------------------------------------------------------------------------------------------------------
#283 HOURLY HEATMAP
#submitted by John MacKintosh <dataguy.jm@gmail.com>
#the hourly heatmap
#blog:http://johnmackintosh.com/2016-12-01-the-hourly-heatmap/
#https... |
ff6aa571d985677eba67db9d8bc907cfed872989 | a1e0c1014d6de2ee4034accb9cd29cacb1533b08 | /app.R | 9b0bef943a8f8fd42a46fb06a716f25841ff522c | [] | no_license | NickPyll/Prime | 97e16c1a218176660c5c2fbbb17579224c13c9b6 | 5f861990b095bdf60a9a88a0c22aaae119ca4ff9 | refs/heads/master | 2021-10-21T22:02:11.242799 | 2021-10-11T13:09:48 | 2021-10-11T13:09:48 | 123,444,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,059 | r | app.R | # source all the things
library(shiny)
library(shinythemes)
# thinking about adding fibonacci and palindrome as other "interesting facts" about input number
# f <- numeric()
# f[1] <- f[2] <- 1
# for(i in 3:100) f[i] <- f[i-2] + f[i-1]
# q <- 7117
# q <- 7332
# q <- as.character(q)
# # Function to reverse text
# st... |
bddbba4ff27a35a7cfd202a4a32e708b179a8b35 | 0b2a9e8945c2d487bf9b73a489e35a73a4b67489 | /man/compute_linear_KL.Rd | c29c6fc1f4e043efc9b235157df62112994a50d6 | [] | no_license | sergioluengosanchez/EMS_clustering | 60cd08e4373cc50752b706ad483825744db9a520 | c958b9037e59235a940fc47c944dd5c996a9896b | refs/heads/master | 2020-04-02T13:56:36.519439 | 2019-02-21T16:24:40 | 2019-02-21T16:24:40 | 154,503,617 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 467 | rd | compute_linear_KL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_KL.R
\name{compute_linear_KL}
\alias{compute_linear_KL}
\title{Compute KL divergence of linear variables}
\usage{
compute_linear_KL(model_p, model_q, cluster_p, cluster_q, is_dir)
}
\description{
Compute KL divergence of linear variab... |
a23c94b7bafade5b124c62afdb66f6be059f39f1 | bb04b62a93cbe2d18d4d5b85254a3b1106635f69 | /R/mmp_utils.R | 6b1bf86ccd89e25a2c904434b0e203426b0716b6 | [] | no_license | xia-lab/MicrobiomeAnalystR | 331725a764aa97099c0ca56668428bce63785bed | 97ced67a4ac04e4804d263ec3cde0fe10fd752aa | refs/heads/master | 2023-08-08T13:52:28.383786 | 2023-08-04T16:28:34 | 2023-08-04T16:28:34 | 184,415,141 | 97 | 36 | null | 2020-02-25T05:39:50 | 2019-05-01T12:48:01 | R | UTF-8 | R | false | false | 138,027 | r | mmp_utils.R | ##############################################################
## R script for MicrobiomeAnalyst
## Description: Functions for microbiome metabolomics analysis
## Author: Jeff Xia, jeff.xia@mcgill.ca
################################################################
####################################################... |
c6ea74dc04d4ef19e82aadbfac3072d9ce936988 | 43541a956f5cabd86404a120bfb63d6ae08aad0c | /man/IlluminaHumanMethylation27kmanifest.Rd | a978597bc70809a3891cd8670f13d7bdd0bc3545 | [] | no_license | hansenlab/IlluminaHumanMethylation27kmanifest | 1a86ffa73f8fbf5320dbf68dad5494defdcbf1b5 | 53867f42d897c91c96100ec1244cabb4a67895c9 | refs/heads/master | 2023-06-03T01:22:32.463021 | 2016-06-15T18:12:40 | 2016-06-15T18:12:40 | 378,113,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 686 | rd | IlluminaHumanMethylation27kmanifest.Rd | \name{IlluminaHumanMethylation27kmanifest}
\alias{IlluminaHumanMethylation27kmanifest}
\docType{data}
\title{
Manifest object for the IlluminaHumanMethylation27k array
}
\description{
This object contains the array design for Illumina's Human Methylation
27k microarray.
}
\usage{data(IlluminaHumanMethylation27kma... |
4767bc2b0e709804518af52211225e46c9ced535 | c1d359cdf0281885744cdcd85d41a21e91218b43 | /man/KYCG_annoProbes.Rd | 18fb357d6a2717b42f61ce97656b77dc06049670 | [
"MIT"
] | permissive | zwdzwd/sesame | 20b2d29578661487db53432c8991d3c4478aa2c1 | 62fe6ef99a02e7f94b121fb601c3f368b8a4c1a8 | refs/heads/master | 2023-08-08T01:45:02.112492 | 2023-07-26T13:23:03 | 2023-07-26T13:23:03 | 122,086,019 | 37 | 26 | MIT | 2023-01-05T16:02:38 | 2018-02-19T16:00:34 | R | UTF-8 | R | false | true | 1,075 | rd | KYCG_annoProbes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/KYCG.R
\name{KYCG_annoProbes}
\alias{KYCG_annoProbes}
\title{Annotate Probe IDs using KYCG databases}
\usage{
KYCG_annoProbes(
query,
databases,
db_names = NULL,
platform = NULL,
sep = ",",
indicator = FALSE,
silent = FALSE
)
}
... |
bf7bca41a1c06515f06c1bdf0ef7bca2e23a8a61 | 1535e5168530e093771ac053d276c2f58ee24008 | /R/useful-items.R | ada8acf0eb556f12c7fada93e87c9aa89895a1e5 | [] | no_license | csiesel/CaseyGentelellaShiny | 656f542ce48963faa143a4c9f51eaf6ce5913673 | ea83c5d06afb88cb634a7dbbeda4f72701aa0f69 | refs/heads/master | 2021-03-14T01:10:35.098888 | 2020-03-12T04:09:47 | 2020-03-12T04:09:47 | 246,726,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,808 | r | useful-items.R | # #' A wizard container
# #'
# #' @param ... slot for \link{wizardItem}
# #' @param orientation wizard orientation: "horizontal" or "verticle"
# #'
# #' @examples
# #' if (interactive()) {
# #' library(shiny)
# #' library(gentelellaShiny)
# #' shinyApp(
# #' ui = gentelellaPageCustom(
# #' gentelellaBody(
# #' ... |
88bc55fcdef4ca3eccf062c9f1898e0b314d5f66 | 1c45135b0801ec0d39d359b4b8e72b8009bd51e5 | /Ingreso nacional.R | bb04fb6ad6e299d9fc199d32ed7a125958869bc6 | [] | no_license | AdeAlonso/Modelos-discretos | 59eec1f9d010569faea92ade0e2931c786bccf99 | e9c68436ff07b76ac8913c4713e42a0b7cf31ec3 | refs/heads/master | 2020-04-28T19:52:15.128313 | 2019-03-14T01:19:46 | 2019-03-14T01:19:46 | 175,524,861 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 128 | r | Ingreso nacional.R | x=rep(0,21)
n=seq(0,20)
x[1]=1
x[2]=2
a=1/2
b=1
for(j in 3:length(n)) {
x[j]=a*x[j-1]+(a*b*(x[j-1]-x[j-2]))+1
plot(n,x)
}
|
a0d6d6ce01e58179eb1bd7cb54ce2badfc1d26ad | 9d987d82210f6454ca6289c182df2fc24ac8ade3 | /SpaDES-master/SAMPLE/maybe not needed/Eliot-data.table.R | 5f7e07bcbf9fac2823a43a795ff61a9b5a56ba05 | [] | no_license | B-Ron12/RCodeSK | b298d24cf75b03f3e7c590f1b8f69130d810ab47 | 4d1ef7255c297668b9705d77054704991445ce37 | refs/heads/master | 2021-01-21T18:43:53.011945 | 2016-02-03T21:48:31 | 2016-02-03T21:48:31 | 45,698,759 | 0 | 0 | null | 2015-11-06T18:11:11 | 2015-11-06T18:11:09 | null | UTF-8 | R | false | false | 8,869 | r | Eliot-data.table.R | devtools::install_github("lineprof")
devtools::install_github("pryr")
devtools::install_github("shiny-slickgrid", "wch")
library(lineprof)
library(pryr)
library(shiny)
devtools::load_all("c:/Eliot/GitHub/SpaDES")
library(microbenchmark)
library(raster)
library(RColorBrewer)
#library(compiler)
#enableJIT(3)
#library(Sp... |
676f29a700d2d28b36f73a6e8b6d5ea1326ef7a0 | 7dd7431a7d41b4bda5135a0083e717bf1eaf0d72 | /scripts/generate_random.R | c30233fd2f9a775df8f3c115fd93af10b201a735 | [] | no_license | malmriv/hopfield | 22178c51756395993e01803e014eeba980003420 | ddf9a5c5dbb54072ffa5094c14e64bbbbc1e38f3 | refs/heads/master | 2022-11-08T06:49:44.658946 | 2020-06-19T23:49:03 | 2020-06-19T23:49:03 | 273,083,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 476 | r | generate_random.R | nswitch = function(a) {
if(a==1) a=0
else if(a==0) a=1
}
dir.create("../random")
files = list.files("../sets")
for(l in 1:200) {
data = read.table(paste("../sets/",files[1],sep=""))
noise = 0.5 #Completely random
random = runif(length(data[,1]),min=0,max=1)
for(i in 1:length(data[,1])) {
if(random[i]<noise)... |
644021dd6e16f061532211985e11ba4d1c8a1ef8 | 6c38c5850f822a151b3930a1574d80718876e69c | /RFiles/For Anniete.R | f987cd0a6292ac9648ff7decde7bed8d36ddb776 | [] | no_license | christianmconroy/Georgetown-Coursework | 7eb30f7c3d20a831ade19c21177b0eb7ad30d288 | d301800adc35cb6a509be5c75fc6c46c3263537b | refs/heads/master | 2020-05-09T13:59:33.434366 | 2020-05-07T16:10:16 | 2020-05-07T16:10:16 | 181,173,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 370 | r | For Anniete.R | # Set WD
setwd("~/GeorgetownMPPMSFS/McCourtMPP/RFiles")
# Load in Data
df <- read.csv("SampleForAnn.csv", stringsAsFactors = FALSE)
library(dplyr)
library(tidyr)
final <- df %>%
gather(var, Response, X1980.Total:X2010.High) %>% ## Makes wide data long
separate(var, c("Year", "Skill"), sep = -6) ## Splits up a... |
564949fecb19fc6db46daa6d878addcaa939e20a | b0401403a3259ce2bf43a0d17fdbbf91b9a48c0a | /R/rast.R | 593cdeec74cb53a9ee9933a641bad745d9965c5f | [] | no_license | cran/terra | e619f8d942189daef2f8436d14bdcbe6c89a6d79 | e3ea767455d46d961fc82c8fcb3aef424c9ecad7 | refs/heads/master | 2023-06-23T13:05:17.593647 | 2023-06-23T10:20:02 | 2023-06-23T11:21:46 | 248,760,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,557 | r | rast.R | # Author: Robert J. Hijmans
# Date : October 2017
# Version 1.0
# License GPL v3
new_rast <- function(nrows=10, ncols=10, nlyrs=1, xmin=0, xmax=1, ymin=0, ymax=1, crs, extent, resolution, vals, names, time, units) {
ncols <- round(ncols)
if (ncols < 1) error("rast", "ncols < 1")
nrows <- round(nrows)
... |
d8498e336a0fc5767ba9bc14bdaecfbb96a0705d | 9cf1abc8ce339d07859eaa12d6143382bee0431a | /FUZZY_DIST_STRINGS.R | fb60ac9060def7ea4eaed2a037e5afddabd6a2ae | [] | no_license | ccsosa/GIS_ANALYSIS | 043e4d2d8fc76a8c50ea8e174914bf1b5612a2eb | f82a0b75ef67478d058216c84ad3ae78fc83cd59 | refs/heads/master | 2021-06-21T06:24:42.182397 | 2017-05-10T22:59:53 | 2017-05-10T22:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,703 | r | FUZZY_DIST_STRINGS.R | require(stringdist);require(psych)
a<-"United States of America"
b<-"United States of Mexico"
c<-"United States"
d<-"United States of America"
e<-"USA"
stAB<-stringsim(a, b, method=c("jw"),p=0.1);stAB2<-stringsim(a, b, method=c("soundex"));
stAB3<-stringsim(a, b, method=c("jaccard"),q=2);stAB4<-stringsim(a, b, method... |
788f3344e73a62f52c9f472267771bb4956348bf | 29585dff702209dd446c0ab52ceea046c58e384e | /smds/R/obj.sph.R | 5f6ac511d0845b7b023168b072520021c95fb865 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 306 | r | obj.sph.R | "obj.sph" <-
function(vecxr,ldiss,udiss, P){
N <- nrow(ldiss)
X <- matrix(vecxr[1:(N*P)],nrow=N,ncol=P)
r <- vecxr[(N*P)+1:N]^2
D <- dist(X)
IDM <- idistSph(X,r)
tmp <- array(0,dim=c(2,N,N))
tmp[1,,] <- ldiss
tmp[2,,] <- udiss
return(sum( (tmp-IDM)^2 )/2)
} |
80a50baccde04c5f14afbd6c5e19fbb3fdc693e4 | a830f244abbdea05374475d0199cd2f4282b0c47 | /R/cov.SE.R | ab9d623ce01995b4304d393535008e7e34d58f2a | [] | no_license | HuckleyLab/GRaF | 0b4cdb8682d2779b48aafe9ed473358b90000a63 | 557d3240c26198c0e0f7bb76453e97a7726723fc | refs/heads/master | 2020-05-25T16:12:51.533111 | 2019-05-22T18:07:50 | 2019-05-22T18:07:50 | 187,882,507 | 0 | 0 | null | 2019-05-21T17:16:24 | 2019-05-21T17:16:24 | null | UTF-8 | R | false | false | 1,635 | r | cov.SE.R | cov.SE <- function(x1, x2 = NULL, e1 = NULL, e2 = NULL, l) {
n1 <- nrow(x1)
n2 <- ifelse(is.null(x2), n1, nrow(x2))
n3 <- ncol(x1)
# distance matrices
if(is.null(x2)) {
e2 <- e1
# if no second matrix do with distance matrices for speed up
dists <- lapply(1:n3, function(i, x) dist(x[, i]) ^ 2, x1)... |
ba6619cd5e151e8f4d3098befd6ea00bbca29d5b | 8fcd363c8dd5cb712cd8ed88a37f5138dd4cf079 | /R/ArrowUtils.R | 0e8a0d63ce9d1aeadc90a8d69454be2d8063e568 | [
"MIT"
] | permissive | GreenleafLab/ArchR | 2d4fd5b4febf21d0d0315922fc1690ef16a6a2a0 | c61b0645d1482f80dcc24e25fbd915128c1b2500 | refs/heads/master | 2023-09-04T05:04:35.202961 | 2023-05-17T12:47:27 | 2023-05-17T12:47:27 | 216,123,064 | 313 | 132 | MIT | 2023-09-01T16:14:59 | 2019-10-18T23:35:41 | R | UTF-8 | R | false | false | 16,958 | r | ArrowUtils.R | ####################################################################
# Hidden Helper Utils for Arrow Files
####################################################################
.validArrow <- function(ArrowFile = NULL){
o <- h5closeAll()
if(h5read(ArrowFile,"Class")!="Arrow"){
warning(
"This file is not a... |
5be6183c297608e33933cdc595e28b1172aeb9fc | 9ad4b4acb8bd2b54fd7b82526df75c595bc614f7 | /Integrate All/Entropy.R | 19ba3a3d7e8e04c8072007bf970a5c3a5bc17f80 | [] | no_license | sylvia-science/Ghobrial_EloRD | f27d2ff20bb5bbb90aa6c3a1d789c625540fbc42 | 041da78479433ab73335b09ed69bfdf6982e7acc | refs/heads/master | 2023-03-31T14:46:27.999296 | 2021-04-02T15:09:49 | 2021-04-02T15:09:49 | 301,811,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,945 | r | Entropy.R | library(coop)
#args <-R.utils::commandArgs(asValues=TRUE)
#if (is.null(args[["input"]])) {
# print("Provide a valid input file name (Batch corrected object) --> RDS file")
#}
#if (is.null(args[["output"]])) {
# print("Provide a valid output file name (Per batch and cell type entropy) --> CSV file")
#}
#if (is.null(... |
2efc414bc1d3d10c70e8fd47ab57711eb0e8166c | 44cf65e7ab4c487535d8ba91086b66b0b9523af6 | /data/Newspapers/2002.08.29.editorial.95114.0960.r | a51b8894518e66ec19a8ec885a58e11c62f9356e | [] | no_license | narcis96/decrypting-alpha | f14a746ca47088ec3182d610bfb68d0d4d3b504e | 5c665107017922d0f74106c13d097bfca0516e66 | refs/heads/master | 2021-08-22T07:27:31.764027 | 2017-11-29T12:00:20 | 2017-11-29T12:00:20 | 111,142,761 | 0 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 3,210 | r | 2002.08.29.editorial.95114.0960.r | libertatea de exprimare si economia de piata au devenit , peste noapte , doua valori democratice pe care romanii , cu spiritul lor inventiv , au inceput sa le foloseasca la cu totul altceva decit se face intr - o tara civilizata .
asa se face ca presa romaneasca de azi are o problema grava .
cititorii nu mai stiu car... |
61e8ab68e266178d2634a1736922eecedbc9d8ca | 4b457d64d1e40b33010f9a4674a06131b223fcb4 | /R/calibrar-demo-LV.R | 7ab6382a19189ad39e0b61a4da0bd918fd59797a | [] | no_license | roliveros-ramos/calibrar | 96d5727f895dbf80f6881d744f6b515a304315d6 | 90b38e0bb0ca76021edc81d6b6f53b81cd2683a8 | refs/heads/master | 2023-07-20T00:12:59.140976 | 2023-07-07T14:26:36 | 2023-07-07T14:26:36 | 20,023,815 | 12 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,838 | r | calibrar-demo-LV.R | # T = 100
# par = list(r=0.5, l=0.2, K=100, alpha=0.1, gamma=0.1, initial=list(N=10, P=1))
.generatePredatorPreyModel = function(path, r=0.5, l=0.2, alpha=0.1, gamma=0.1, K=100, T=100,
N0=10, P0=1, ...) {
# 'real' parameters
par_real = list(r=r, l=l, K=K, alpha=alpha, gamma... |
35b1c2342d2f9479dd433a60ab8813d03080065c | 5346fdbb8f0bba368c79971d1f8ee82f80d72623 | /slides/04-predictions-and-variance-walk-through.R | 03171b5b4709404cf7a66a752d0e7e627750b4b7 | [
"MIT"
] | permissive | pedersen-fisheries-lab/DFO-3day-gam-workshop | f03dff53c16c1e61b6c4ee73c2f4d6a18993cd24 | d240ae4a4909fd884ca256389c1659c845c5acca | refs/heads/master | 2022-12-08T16:58:45.813666 | 2020-08-14T16:23:21 | 2020-08-14T16:23:21 | 281,726,758 | 4 | 1 | MIT | 2020-08-11T19:28:03 | 2020-07-22T16:19:17 | HTML | UTF-8 | R | false | false | 11,363 | r | 04-predictions-and-variance-walk-through.R | ## ----setup, include=FALSE, cache=FALSE----------------------------------------
library('here')
library('mgcv')
library('gratia')
library('ggplot2')
library('sf')
library('dplyr')
## ----load-shrimp--------------------------------------------------------------
shrimp <- read.csv(here('data', 'trawl_nl.csv'))
## --... |
5d97dc1f8614c5f397c9dfd5e1a437bc13ab5c02 | 0b84d6023413e08965e0ce2cca29c6431ddc3d53 | /codes/covarianceSelection/man/dot-initialize_children.Rd | 7237e942eb7ed8d3f4dcb51c6541c56a60bd5ebf | [
"MIT"
] | permissive | jasa-acs/Covariance-Based-Sample-Selection-for-Heterogeneous-Data-Applications-to-Gene-Expression-and-Auti... | 8d615fe9b73991ebf066bbc545aeebadfd31ec75 | 1ed8f1f509098c8d34b92496b7258b28d2309d4f | refs/heads/master | 2022-08-30T02:09:03.023416 | 2020-05-26T20:27:21 | 2020-05-26T20:27:21 | 266,931,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 424 | rd | dot-initialize_children.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clique_selection.R
\name{.initialize_children}
\alias{.initialize_children}
\title{Initialize hash table of nodes}
\usage{
.initialize_children(lis)
}
\arguments{
\item{lis}{list of indices}
}
\value{
a \code{hash} object of \code{node} objec... |
be8f4871f4854eb9ccd40e585af8169233c44a4e | 5a1aeb2b2f4d5fa21aa7eb2f9e6f85463af3a70d | /R/calScore.R | 986ba7d61eae78b3813cda56bffb81d5cfc523ec | [] | no_license | seandavi/GenomicSignatures | 5a4b553f2cbb172f12121ccfaabee368b73b22f3 | af2a512918089040b289cd2912774d7caf85dcde | refs/heads/master | 2021-01-03T23:04:40.263678 | 2020-02-13T01:31:11 | 2020-02-13T01:31:11 | 240,273,353 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,695 | r | calScore.R | #' Calculate the score for a new dataset
#'
#' Rownames of dataset and avg.loadings should be gene symbols.
#'
#' @param dataset A list of SummarizedExperiment (or ExpressionSet) objects.
#' Rownames are in 'symbol' format.
#' @param avg.loadings Output from `avgLoading` function - a data frame of avaerage
#' loadings.... |
5dcd56b017eb813079a7d774b0732e22eed3e25a | d2ebe890dafca65977919640cb19615dd7fcd8e5 | /c2/3 Models with ratio and montecarlo.R | 9ad1c65a633a4377d222f2a8a242c23fd4131c98 | [] | no_license | ishandas387/ShinyApp | 7590e124ef3f1a3b636a512da1a2cde6a2b86be6 | 3e3d54130adf38db1f8d5d593f6a21d60f974751 | refs/heads/master | 2020-11-27T05:25:46.385776 | 2020-04-05T11:04:52 | 2020-04-05T11:04:52 | 229,321,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,253 | r | 3 Models with ratio and montecarlo.R | library(class)
library(e1071)
library(MASS)
data("iris")
Tit=iris
M=matrix(NA,3,3)
ratio=c(40,60,80)
for (j in 1:3){
acc=c(0,0)
mc=1000
for(i in 1:mc){
n=nrow(Tit)
indexes = sample(n,n*(ratio[j]/100))
trainset = Tit[indexes,]
testset = Tit[-indexes... |
05469c7513cb148953b4c6015c9e07bab55cf702 | aa60ef703e17a9c925ff2138efe261d6d1d9f3a1 | /UAS_MLR_MAUDY.R | dfc8450e31d11954b9bc15c8a39836bbc7d2f8f6 | [] | no_license | maudyarynt/UAS_BIGDATA | 2884f97dd3c34ee8d80094983afe4a0bfa5190e8 | c71eed2d74fbb133db22ffc3f8e7baa350435236 | refs/heads/main | 2023-06-17T07:01:17.532519 | 2021-07-18T14:57:00 | 2021-07-18T14:57:00 | 387,194,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,963 | r | UAS_MLR_MAUDY.R | library(readxl)
UAS_PCA_dan_MLR <- read_excel("mod/UAS_PCA_dan_MLR.xlsx")
View(UAS_PCA_dan_MLR)
str(UAS_PCA_dan_MLR)
UAS_PCA_dan_MLR$Saving <- (UAS_PCA_dan_MLR$Saving - min(UAS_PCA_dan_MLR$Saving))/(max(UAS_PCA_dan_MLR$Saving) - min(UAS_PCA_dan_MLR$Saving))
UAS_PCA_dan_MLR$Deposit <- (UAS_PCA_dan_MLR$Deposit - min... |
2b6c89c395ac490b1b96663e6e1ad47fe6585524 | fd80186292810bd76c5de42579674a5f7bb0bf8e | /sc_atac_tSNE_perplexity_loop.R | aab5d26eae09f6588e50700391c04ba40f630070 | [] | no_license | resurgo-genetics/scATACseq | 6080e776b2444a646714f4d450e113b204631c17 | 7066c321200e090b953bf478dd0ba35ea43b2be8 | refs/heads/master | 2021-06-20T04:57:20.959310 | 2017-08-02T00:43:33 | 2017-08-02T00:43:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,807 | r | sc_atac_tSNE_perplexity_loop.R | #module load gmp/5.0.2 mpfr/3.1.0 mpc/0.8.2 gcc/4.9.1 R/3.2.1
library(Matrix)
library(limma)
library(RColorBrewer)
library(irlba,lib.loc="/net/shendure/vol1/home/cusanovi/R/x86_64-unknown-linux-gnu-library/3.1/")
library(data.table)
library(Rtsne)
library(densityClust)
library(methods)
library(viridis)
# gz set from 'T... |
098c5e8ab679a439cdc4fc276725e641cd732ff6 | 5044e15804789c2f18e1cf82349010e9508ac506 | /plot2.R | 5691c000710df4b860b94575dffe2ca575e036dc | [] | no_license | rigley/ExData_Final | 201001e4a478ea54b9f11bb82d85a7e641be575f | 394d57869f692231f10c20f2c498506271605eaa | refs/heads/master | 2021-01-19T07:36:38.058513 | 2017-04-09T20:20:32 | 2017-04-09T20:20:32 | 87,560,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 713 | r | plot2.R | # rds files must be in the same directory as this script
print("Reading data....")
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
baltimore_filter <- "24510"
baltimore <- subset(NEI, NEI$fips == baltimore_filter)
tmp <- aggregate(baltimore$Emissions, by = list(year = baltimor... |
74dadaf8cbbd5ed873302ee0b6ffc2db1b4642cc | cb015d1ac88fa3ae722f16f3032b6eae6a2252bb | /R/graphviz.R | 81619ff3a46c82391cc90802e59f2021d11da761 | [] | no_license | pedmiston/crotchet | d97fd115edd05d29d3383a2027a47a54cf1fe549 | d3c9fffaf28766c4817c916262420ff30e1892bb | refs/heads/master | 2020-08-05T15:06:31.340565 | 2017-10-10T14:18:14 | 2017-10-10T14:18:14 | 67,830,890 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,901 | r | graphviz.R | #' Returns a path to a graphviz file included in the specified package.
#' @export
find_graphviz <- function(name, package, inst_dir_name = "extdata") {
if (missing(package)) {
stopifnot(file.exists(name))
return(tools::file_path_as_absolute(name))
}
find_extdata(name, ext = ".gv", package = package, inst... |
fc9004ad52355e057f5a4c0c548a00f3f42d1b3b | abc43d77124cef33e655b1837551e610cdb2ce7f | /man/RmdUpdateOutputs.Rd | 48c003b99c90ad8917f60cc0e7b9d781c0a6cd73 | [
"MIT"
] | permissive | dr-harper/HarpR | 00073b672890e78cab943092d53936c2de222fd5 | f77bf85075992ff01124d9115bdf64650a9e0e75 | refs/heads/master | 2022-04-04T18:35:51.485215 | 2019-11-06T15:26:52 | 2019-11-06T15:26:52 | 120,006,708 | 0 | 0 | MIT | 2018-11-22T16:41:57 | 2018-02-02T16:49:18 | R | UTF-8 | R | false | true | 963 | rd | RmdUpdateOutputs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RmdLastKnitted.R
\name{RmdUpdateOutputs}
\alias{RmdUpdateOutputs}
\title{Updates R Markdown output files}
\usage{
RmdUpdateOutputs(directory = getwd(), recursive = TRUE,
firstKnit = FALSE, minAge = 0, quiet = TRUE)
}
\arguments{
\item{direc... |
f65e94dd6eb956b3dbbad43481e94aae5d96d436 | f76df79cc236bcdeb4f1d65a3a8fe5dba8a83f13 | /run_analysis.R | 49313548f3e0ec04d30bb3ccc635ca3f7f442b69 | [] | no_license | renato-leite/Getting_Cleanning | 34d0713a92ef0c7b1f63779bdc8578616e2503a5 | 2e9e5eb9a6b90ab6e00605a77879ad000c09db3a | refs/heads/master | 2020-05-16T23:04:43.495120 | 2014-05-23T23:43:17 | 2014-05-23T23:43:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,024 | r | run_analysis.R |
######################################
#
# This script imports and transform the data from the Coursera Project
# into a Tidy data.
# The description is in the README.MD
#
######################################
##Imports accelerometer data
A1=read.table("train/subject_train.txt")
A2=read.table("train/X_train.txt"... |
75c006ac2a6cbc6cc43d2b65794e18107b385c02 | 094f81c31a3cfd560b24280e476d5af4fb52b9e3 | /R/t0.R | 2854abc4cada1f5b3976215456e2b9c19e60ffd0 | [
"MIT"
] | permissive | PJOssenbruggen/Basic | 6c2343dcb135cb364d059160925ded5cb43b5455 | 1885fa40d3318cc554b4dd80154b263baef19ac4 | refs/heads/master | 2021-01-25T11:57:19.583401 | 2019-01-04T13:03:32 | 2019-01-04T13:03:32 | 123,449,454 | 0 | 0 | null | 2018-03-05T12:26:55 | 2018-03-01T14:56:48 | R | UTF-8 | R | false | false | 132 | r | t0.R | #' \code{t0} is the time the analysis is initiated.
#'
#' @format
#' \describe{
#' \item{t0}{time, measured in seconds.}
#' }
"t0"
|
1b304b154dde9e02445d66c83ce346810dd7d573 | a62af7d68dba1b91bfc3c67ce612db75b1cf8b5a | /Run_analysis.R | 6cf802cc94f4519258d05589a4c53f22aa95795a | [] | no_license | spsuamin/Making-Tidy-Data | ce5d2d2eceed755884918b557de96d0ef6779bcc | 535b55a069ae46dcb422a113568392e16aa25b5a | refs/heads/master | 2020-05-09T14:54:04.555269 | 2019-04-13T20:35:05 | 2019-04-13T20:35:05 | 181,212,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,138 | r | Run_analysis.R | #Ask user to select the directory containing the UCH HAR Dataset
filepath <- if (interactive())
choose.dir(getwd(),"Select the root UCI HAR Dataset Folder")
setwd(filepath)
#Read metadata
activity_labels <- read.delim(file = "activity_labels.txt",header = FALSE) #Reads the activity labels
feature_labels <- re... |
29d5331d7b222ed6802c2583b825759f50f044f6 | 0ca78ef5a8670fbdab55409eecda579cec2baf68 | /trade/SNPACKAGE/R/SnReport.R | 591d863d325fc74343cf285d0e6f28980c51cb97 | [] | no_license | zhurui1351/RSTOCK_TRAIL | ab83fdef790778a1e792d08a876522ef13a872e6 | 2396c512c8df81a931ea3ca0c925c151363a2652 | refs/heads/master | 2021-01-23T09:01:36.814253 | 2019-05-17T15:26:19 | 2019-05-17T15:26:19 | 23,482,375 | 9 | 4 | null | null | null | null | UTF-8 | R | false | false | 3,043 | r | SnReport.R | SnReport <- function(priceData,confProp=0.55,conf=0.05,tradeDays=5,prune=5,profitratio=0.2,drawdownratio=-0.1,initEq = 100000,path='',type='iw',computePosition = fixPosition(size=1000))
{
snrules = SNRules(priceData,confProp=confProp,conf=conf,tradeDays=tradeDays,prune=prune,type=type)
traderules = getTradeRules(sn... |
ea456117ded648e15d224826c25052794d461a3a | edbfaab41041f855e0cd0ef25ce0f0adefac80b6 | /Week-13/Anusha_Week13.R | c08f5f8ca95eac3200ec143309a81681d2aec5fe | [
"MIT"
] | permissive | mlammens/PermuteSeminar-2014 | f41a7226155534cb0cccf536a4cf6f11253b3b73 | a8bb2ecc16b733362ca9f875711ef98019d55e96 | refs/heads/master | 2021-01-25T00:28:41.910569 | 2014-05-13T11:38:03 | 2014-05-13T11:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 770 | r | Anusha_Week13.R | library(vegan)
# Set working directory
setwd("C://Users\\Anusha\\Documents\\GitHub\\PermuteSeminar-2014\\Week-13")
svob <- read.csv("Svoboda_Supp.T2.csv", row.names=1)
env <- read.csv("Svoboda_T2_csv.csv", row.names=1)
head(svob)
head(env)
# Add column to env data to define swamp vs. bog
env <- env[-1,]
env <- env[-... |
d91263bec0bfdeea60af8e651a56df69ebe61b83 | 2c38fc71287efd16e70eb69cf44127a5f5604a81 | /R/class_fst.R | b88d2d5d2e318806f53c70fd7e0cfd0b3733a42a | [
"MIT",
"Apache-2.0"
] | permissive | ropensci/targets | 4ceef4b2a3cf7305972c171227852338dd4f7a09 | a906886874bc891cfb71700397eb9c29a2e1859c | refs/heads/main | 2023-09-04T02:27:37.366455 | 2023-09-01T15:18:21 | 2023-09-01T15:18:21 | 200,093,430 | 612 | 57 | NOASSERTION | 2023-08-28T16:24:07 | 2019-08-01T17:33:25 | R | UTF-8 | R | false | false | 692 | r | class_fst.R | #' @export
store_class_format.fst <- function(format) {
c("tar_fst", "tar_store")
}
#' @export
store_assert_format_setting.fst <- function(format) {
}
#' @export
store_read_path.tar_fst <- function(store, path) {
fst::read_fst(path)
}
#' @export
store_write_path.tar_fst <- function(store, object, path) {
compr... |
359d67d964ed9046a8eea9a957561fe5a91bde07 | e649f291b0937f09b616411ed39d91e4f86218ef | /calculateSteps.r | 75cfe52aab8465dd7ffd5e130e5bdc362573e913 | [] | no_license | moocparticipant/RepData_PeerAssessment1 | 2e02b4faa3d92b284347a6ed2e56f09231a5679f | 2cae23436ca7a0684cd7b98b40c124b598675a4b | refs/heads/master | 2021-01-12T22:38:38.003112 | 2015-07-20T11:30:28 | 2015-07-20T11:30:28 | 39,078,694 | 0 | 0 | null | 2015-07-14T14:12:04 | 2015-07-14T14:12:04 | null | UTF-8 | R | false | false | 759 | r | calculateSteps.r | #This code takes a data table and calculates the total steps
#steps, date,interval are the columns in the data table
library(plyr)
calculateSteps <- function (data) {
dateSteps <- data[, c(1,2)]# only take date and steps columns
NARemovedSteps <- dateSteps[complete.cases(dateSteps),] #remove all NAs
#using ddply su... |
e4b3daa79dd5063376f2e32d331425883c5557bc | 2001bb778b621ff646b2951c3b9e6995f8d40c2f | /below5_sum.R | 12edeb41ec6c047793f7e43867baf69956921971 | [] | no_license | emelaas/landsat_ARD | 15d8238ec04026634eb8a81207cbf33a7a682202 | b2c4beb007349cb80d42be52e3df87e4b38645e7 | refs/heads/master | 2021-04-29T23:46:20.607859 | 2018-08-28T21:56:29 | 2018-08-28T21:56:29 | 121,563,656 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,221 | r | below5_sum.R | ##This script will generate long-term mean and annual 32km maps of spring and autumn phenology
##for a given Landast overlap scene
system.time({
library(ncdf4)
require(rgdal)
library(raster)
library(foreach)
library(iterators)
library(doParallel)
#Register the parallel backend
registerDoParallel(16)... |
331a5d4ba3f7302a56b1d00c9093b8e403dcff7b | f7de34edd958d2a9ae3d39106b97e943bc5c052b | /Imputation_cleaning/hospital_discharge_date_cleaning.R | aadd930e512689beef1425d5f9be00fd20aca4a4 | [] | no_license | georgeannie/VHS-practicum-code | eccf057bdb0d300fd93c6bc81c48440964392d04 | 175de3dc2e109f601c4e42e5c301b10f4ea89d67 | refs/heads/master | 2020-04-27T10:23:21.455876 | 2019-05-22T23:25:15 | 2019-05-22T23:25:15 | 174,251,626 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,046 | r | hospital_discharge_date_cleaning.R | #######################################################################################
# CLEAN UP HOSPITAL DISCHARGE DATE. USE THE HOSPITAL DISCHARGE DATE AND #
# ED ADMISSION DATE TO FIND THE NUMBER OF DAYS IN THE HOSPITAL. #
# IF HOSPITAL DISCHARGE DISPOSITION IS DECEASED TH... |
fe6221a1c2f560cb591ac34604e71116929aa803 | e6a9d96db33e6cd819e4f1dbd60c80b0eb53a615 | /R/get_real_mgcv.R | 1e887f1833dfd969d352133fdebd63fbe40333ce | [] | no_license | dsjohnson/agTrendTMB | 42384a16831a7f21b4bfe61ad61075b6555cac8f | 403c55da56e891c8126b912ab8958346d7f1d3c8 | refs/heads/master | 2023-01-10T19:30:07.323254 | 2020-11-10T01:19:36 | 2020-11-10T01:19:36 | 307,476,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 584 | r | get_real_mgcv.R | #' @title Add realized SSL survey values to the prediction sample
#' @param x A list object from \code{fit_agtrend_ssl}
#' @param N_sample A matrix of abundance samples from \code{sample_N}
#' @importFrom stats rnorm
#' @export
#'
get_real_mgcv <- function(fit, sample){
use_mi <- any(fit$mi_data$w<1)
d <- fit$data... |
c2deacb070d60289ddc0ff0bbd117560d1df7f2f | 494f94e6450afbb0cbeba73ab3e87cfa1eb6d078 | /server/sa_server.R | d3ef16c18470fc51a914fe60fb537ca6dbeb3664 | [] | no_license | cheriels/2017ops_beta | 8b1b134d470686f3f46ccfcc2d6b657b9350fb8d | 337e55007f7c53004e5e1a0b5e05f67296c08284 | refs/heads/master | 2021-01-23T12:45:11.595616 | 2017-12-07T16:20:52 | 2017-12-07T16:20:52 | 93,194,923 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,168 | r | sa_server.R | #----------------------------------------------------------------------------
observeEvent(input$reset.sa, {
updateCheckboxGroupInput(session, "gages.sa",
selected = c("por", "mon_jug", "lfalls",
"lfalls_from_upstr", "lfalls_trigger"))
})
#----------... |
775b20ff20574675549815bc6c8bf68f603d4077 | 9f514382a9a713f2f68ed7a6fad77221283760ee | /Course 4_Wk1_HW.R | 35d4a8f1ee38a58b1fcda85d84133654c60df6e3 | [] | no_license | marends007/ExData_Plotting1 | fca1864baede196fc7416be4923d1c1e4d9ce13c | 935fc2a350db9d82478ac391dedc0a5139b9de08 | refs/heads/master | 2021-03-22T15:08:31.928694 | 2017-10-19T01:07:20 | 2017-10-19T01:07:20 | 107,031,726 | 0 | 0 | null | 2017-10-15T17:04:30 | 2017-10-15T17:04:29 | null | UTF-8 | R | false | false | 2,557 | r | Course 4_Wk1_HW.R | install.packages("readtext")
library(readtext)
readtext("~/Course Trainings/John Hopkins Data Science Boot Camp/JHU Working Directory/household_power_consumption.txt")
powerConsumption = read.table("household_power_consumption.txt")
library(data.table)
file_power <- fread("household_power_consumption.txt", na.strings =... |
3ca22d3933e6f867488bd28d6ae18e59cabeecff | 24675907a2f4ecfb109fe9cd97b4afdbe7d0fe78 | /plot4.R | 7ee28e04af1baad3dc68b45696bc96a847f2e5f5 | [] | no_license | peterchsu/ExData_Plotting1 | 75cdeca4202072e5cb064e93090fa6fb08f092c6 | df3b9e3d8d3fee10195b736c041ec8072680ab1d | refs/heads/master | 2021-01-16T19:01:03.484516 | 2014-07-13T03:51:21 | 2014-07-13T03:51:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,253 | r | plot4.R | ## This function plots Global Active Power, Energy sub metering, Voltage, and
## Global Reactive Power for a two day period in February 2007.
##
## The graph is saved as a file in the local directory named "plot3.png"
##
## Appropriate data may be passed to the function. If this does not occur,
## the "readData.R" fun... |
bc9246f18faa81b086f4d8e8f5da23829b44a666 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TSA/examples/harmonic.Rd.R | 614f1ba5b2de06c22678f4600d43d5ecfa5c3d08 | [] | 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 | 327 | r | harmonic.Rd.R | library(TSA)
### Name: harmonic
### Title: Construct harmonic functions for fitting harmonic trend model
### Aliases: harmonic
### Keywords: methods
### ** Examples
data(tempdub)
# first creates the first pair of harmonic functions and then fit the model
har.=harmonic(tempdub,1)
model4=lm(tempdub~har.)
summary(mode... |
1206deb3f671995fa8a3972172f466552409a161 | d73907fd9853692ec8f8b0d9a67902dc4c5748b0 | /Simulations/7_compile_results.R | 0872445747501f1618528de653b1f2384f9ba9e0 | [] | no_license | foolkenan/lifetimerisk | 3bd23c9064181102f2bd0af1c5d40923c9c3beee | 5adebc62e5ac3207a5f51befbcbf1315a5809095 | refs/heads/master | 2023-07-21T01:01:06.675164 | 2021-09-08T23:03:13 | 2021-09-08T23:03:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,360 | r | 7_compile_results.R | # Assess simulation results and compile into a dataset for nested loop plot
# Updated for revision on 7/9/2021
options(scipen=999)
scenarios.csh <- read.csv('table_scenarios_csh.csv')
scenarios.sdh <- read.csv('table_scenarios_sdh.csv')
pseudocsh <- 'pseudo//cshv2//'
pseudosdh <- 'pseudo//sdhv2//'
fg.csh <- 'finegr... |
adb3f50e850ab79c8ba5b6cabf19296d0207a786 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /resemble/R/print.local_fit.R | 16682740e7efe537931a8e1ab730196f13fd4929 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | r | print.local_fit.R | #' @title Print method for an object of class \code{local_fit}
#' @description Prints the contents of an object of class \code{local_fit}
#' @usage \method{print}{local_fit}(x, ...)
#' @param x an object of class \code{local_fit}
#' @param ... not yet functional.
#' @author Leonardo Ramirez-Lopez
#' @keywords int... |
1cbc9fe1777e30cb2f7d79edb55effde70f5a519 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/proportion/examples/ciWD.Rd.R | 0a6dd443c821813217ab77c4360cb9d23196e919 | [] | 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 | 142 | r | ciWD.Rd.R | library(proportion)
### Name: ciWD
### Title: Wald method of CI estimation
### Aliases: ciWD
### ** Examples
n=5; alp=0.05
ciWD(n,alp)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.